[INF]: SR: Ext SHM was defragmented and 8820 B were saved.
[INF]: SR: Session 30 (user "root") created.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: There is no leafref "/ietf-keystore:keystore/ietf-keystore:asymmetric-keys/ietf-keystore:asymmetric-key/ietf-keystore:name" with the value "genkey", but it is not required.
[INF]: LY: There is no leafref "/ietf-keystore:keystore/ietf-keystore:asymmetric-keys/ietf-keystore:asymmetric-key/ietf-keystore:name" with the value "genkey", but it is not required.
[INF]: LY: There is no leafref "/ietf-keystore:keystore/ietf-keystore:asymmetric-keys/ietf-keystore:asymmetric-key/ietf-keystore:name" with the value "genkey", but it is not required.
[INF]: LY: There is no leafref "/ietf-keystore:keystore/ietf-keystore:asymmetric-keys/ietf-keystore:asymmetric-key/ietf-keystore:name" with the value "genkey", but it is not required.
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: LN: Listening on 0.0.0.0:830 for SSH connections.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Ext SHM was defragmented and 4120 B were saved.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: LN: Call Home client "default-client" connecting...
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[DBG]: LN: nc_sock_connect((null), 0, 5, -1)
[INF]: LN: Call Home client "test-client" connecting...
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[INF]: LN: Trying to connect via IPv6 to ::1:0.
[DBG]: LN: nc_sock_connect(127.0.0.1, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 127.0.0.1:4334.
[INF]: LN: getsockopt() error (Connection refused).
[INF]: LN: Trying to connect via IPv4 to 127.0.0.1:0.
[INF]: LN: getsockopt() error (Connection refused).
[INF]: LN: getsockopt() error (Connection refused).
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-keystore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-truststore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: LN: Call Home client "dhcp-discover-192.168.2.2" connecting...
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(192.168.2.2, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 192.168.2.2:4334.
[INF]: LN: getsockopt() error (Connection refused).
Parent process name matched successfully
Send signal now
Parent process name matched successfully
Send signal now
Parent process name matched successfully
Send signal now
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(127.0.0.1, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 127.0.0.1:4334.
[INF]: LN: getsockopt() error (Connection refused).
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(192.168.36.112, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 192.168.36.112:4334.
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(192.168.2.2, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 192.168.2.2:4334.
[INF]: LN: Successfully connected to 192.168.2.2:4334 over IPv4.
[INF]: SR: Session 31 (user "root") created.
[INF]: LN: Successfully connected to 192.168.36.112:4334 over IPv4.
[INF]: SR: Session 32 (user "root") created.
Parent process name matched successfully
Send signal now
[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".
[INF]: LN: Received an SSH message "request-auth" of subtype "none".
[ERR]: LN: SSH key exchange timeout.
Parent process name matched successfully
Send signal now
[INF]: LN: Received an SSH message "request-auth" of subtype "password".
[INF]: LN: Failed user "root" authentication attempt (#1).
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
Parent process name matched successfully
Send signal now
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[INF]: LN: Failed user "root" authentication attempt (#2).
[ERR]: LN: Communication SSH socket unexpectedly closed.
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(127.0.0.1, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 127.0.0.1:4334.
[INF]: LN: getsockopt() error (Connection refused).
Parent process name matched successfully
Send signal now
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(192.168.36.112, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 192.168.36.112:4334.
Parent process name matched successfully
Send signal now
[INF]: LN: Successfully connected to 192.168.36.112:4334 over IPv4.
[INF]: SR: Session 33 (user "root") created.
Parent process name matched successfully
Send signal now
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(192.168.2.2, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 192.168.2.2:4334.
[INF]: LN: getsockopt() error (Connection refused).
[ERR]: LN: SSH key exchange timeout.
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(127.0.0.1, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 127.0.0.1:4334.
[INF]: LN: getsockopt() error (Connection refused).
Parent process name matched successfully
Send signal now
Parent process name matched successfully
Send signal now
Parent process name matched successfully
Send signal now
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(192.168.2.2, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 192.168.2.2:4334.
[INF]: LN: Successfully connected to 192.168.2.2:4334 over IPv4.
[INF]: SR: Session 34 (user "root") created.
In custom fun:get_re_call_home_no_ssh_timer_cb()
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(192.168.36.112, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 192.168.36.112:4334.
[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".
[INF]: LN: Received an SSH message "request-auth" of subtype "none".
[INF]: LN: Successfully connected to 192.168.36.112:4334 over IPv4.
[INF]: SR: Session 35 (user "root") created.
Parent process name matched successfully
Send signal now
In custom fun:get_re_call_home_no_ssh_timer_cb()
Parent process name matched successfully
Send signal now
re-call-home-no-ssh-timer:30
[DBG]: LN: nc_sock_connect(127.0.0.1, 4334, 5, -1)
[INF]: LN: Trying to connect via IPv4 to 127.0.0.1:4334.
[INF]: LN: getsockopt() error (Connection refused).
Parent process name matched successfully.
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[INF]: LN: User "oranuser" authenticated.
[INF]: LN: Received an SSH message "request-channel-open" of subtype "session".
[INF]: LN: Received an SSH message "request-channel" of subtype "subsystem".
capabilities[0]:urn:ietf:params:netconf:base:1.0
capabilities[1]:urn:ietf:params:netconf:base:1.1
capabilities[2]:urn:ietf:params:netconf:capability:writable-running:1.0
capabilities[3]:urn:ietf:params:netconf:capability:candidate:1.0
capabilities[4]:urn:ietf:params:netconf:capability:rollback-on-error:1.0
capabilities[5]:urn:ietf:params:netconf:capability:validate:1.1
capabilities[6]:urn:ietf:params:netconf:capability:startup:1.0
capabilities[7]:urn:ietf:params:netconf:capability:xpath:1.0
capabilities[8]:urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&also-supported=report-all,report-all-tagged,trim,explicit
capabilities[9]:urn:ietf:params:netconf:capability:notification:1.0
capabilities[10]:urn:ietf:params:netconf:capability:interleave:1.0
[INF]: LN: Session 1: sending message:
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><capabilities><capability>urn:ietf:params:netconf:base:1.0</capability><capability>urn:ietf:params:netconf:base:1.1</capability><capability>urn:ietf:params:netconf:capability:writable-running:1.0</capability><capability>urn:ietf:params:netconf:capability:candidate:1.0</capability><capability>urn:ietf:params:netconf:capability:rollback-on-error:1.0</capability><capability>urn:ietf:params:netconf:capability:validate:1.1</capability><capability>urn:ietf:params:netconf:capability:startup:1.0</capability><capability>urn:ietf:params:netconf:capability:xpath:1.0</capability><capability>urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&amp;also-supported=report-all,report-all-tagged,trim,explicit</capability><capability>urn:ietf:params:netconf:capability:notification:1.0</capability><capability>urn:ietf:params:netconf:capability:interleave:1.0</capability><capability>urn:ietf:params:netconf:capability:url:1.0?scheme=http,https,ftp,ftps

capabilities[11]:urn:ietf:params:netconf:capability:url:1.0?scheme=http,https,ftp,ftps,file
capabilities[12]:urn:ietf:params:xml:ns:yang:ietf-yang-metadata?module=ietf-yang-metadata&revision=2016-08-05
capabilities[13]:urn:ietf:params:xml:ns:yang:1?module=yang&revision=2017-02-20
capabilities[14]:urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15
capabilities[15]:urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15
capabilities[16]:urn:ietf:params:netconf:capability:yang-library:1.1?revision=2019-01-04&content-id=75
capabilities[17]:urn:ietf:params:xml:ns:yang:ietf-netconf-acm?module=ietf-netconf-acm&revision=2018-02-14
capabilities[18]:urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2013-09-29&features=writable-running,candidate,rollback-on-error,validate,startup,url,xpath
capabilities[19]:urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?module=ietf-netconf-with-defaults&revision=2011-06-01
[INF]: LN: Session 1: sending message:
,file</capability><capability>urn:ietf:params:xml:ns:yang:ietf-yang-metadata?module=ietf-yang-metadata&amp;revision=2016-08-05</capability><capability>urn:ietf:params:xml:ns:yang:1?module=yang&amp;revision=2017-02-20</capability><capability>urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&amp;revision=2013-07-15</capability><capability>urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&amp;revision=2013-07-15</capability><capability>urn:ietf:params:netconf:capability:yang-library:1.1?revision=2019-01-04&amp;content-id=75</capability><capability>urn:ietf:params:xml:ns:yang:ietf-netconf-acm?module=ietf-netconf-acm&amp;revision=2018-02-14</capability><capability>urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&amp;revision=2013-09-29&amp;features=writable-running,candidate,rollback-on-error,validate,startup,url,xpath</capability><capability>urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?module=ietf-netconf-with-defaults&amp;revision=2011-06-01</capability>

capabilities[20]:urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?module=ietf-netconf-notifications&revision=2012-02-06
capabilities[21]:urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04
capabilities[22]:urn:ietf:params:xml:ns:netconf:notification:1.0?module=notifications&revision=2008-07-14
capabilities[23]:urn:ietf:params:xml:ns:netmod:notification?module=nc-notifications&revision=2008-07-14
capabilities[24]:urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name?module=ietf-x509-cert-to-name&revision=2014-12-10
capabilities[25]:urn:ietf:params:xml:ns:yang:iana-crypt-hash?module=iana-crypt-hash&revision=2014-08-06
capabilities[26]:urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2017-01-19
[INF]: LN: Session 1: sending message:
<capability>urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?module=ietf-netconf-notifications&amp;revision=2012-02-06</capability><capability>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&amp;revision=2010-10-04</capability><capability>urn:ietf:params:xml:ns:netconf:notification:1.0?module=notifications&amp;revision=2008-07-14</capability><capability>urn:ietf:params:xml:ns:netmod:notification?module=nc-notifications&amp;revision=2008-07-14</capability><capability>urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name?module=ietf-x509-cert-to-name&amp;revision=2014-12-10</capability><capability>urn:ietf:params:xml:ns:yang:iana-crypt-hash?module=iana-crypt-hash&amp;revision=2014-08-06</capability><capability>urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&amp;revision=2017-01-19</capability></capabilities><session-id>1</session-id></hello>

[INF]: LN: Session 1: sending message:
]]>]]>

[INF]: LN: Session 1: received message:
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><capabilities><capability>urn:ietf:params:netconf:base:1.0</capability><capability>urn:ietf:params:netconf:base:1.1</capability></capabilities></hello>

[INF]: LN: Call Home client "dhcp-discover-192.168.2.2" session 1 established.
[INF]: SR: Session 36 (user "root") created.
[INF]: SR: There are no subscribers for "ietf-netconf-notifications" notifications.
[INF]: NP: Generated new event (netconf-session-start).
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-netconf</identifier><version>2013-09-29</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-netconf" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-netconf {
  namespace "urn:ietf:params:xml:ns:netconf:base:1.0";
  prefix nc;

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-netconf-acm {
    prefix nacm;
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://tools.ietf.org/wg/netconf/&gt;
     WG List:  &lt;netconf@ietf.org&gt;

     WG Chair: Bert Wijnen
               &lt;bertietf@bwijnen.net&gt;

     WG Chair: Mehmet Ersue
               &lt;mehmet.ersue@nsn.com&gt;

     Editor:   Martin Bjorklund
               &lt;mbj@tail-f.com&gt;

     Editor:   Juergen Schoenwaelder
               &lt;j.schoenwaelder@jacobs-university.de&gt;

     Editor:   Andy Bierman
               &lt;andy.bierman@brocade.com&gt;";
  description
    "NETCONF Protocol Data Types and Protocol Operations.

     Copyright (c) 2011 IETF Trust and the perso

[INF]: LN: Session 1: sending message:

#1021


[INF]: LN: Session 1: sending message:
ns identified as
     the document authors.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 6241; see
     the RFC itself for full legal notices.";

  revision 2013-09-29 {
    description
      "Updated to include NACM attributes";
    reference
      "RFC 6536: sec 3.2.5 and 3.2.8";
  }
  revision 2011-06-01 {
    description
      "Initial revision";
    reference
      "RFC 6241: Network Configuration Protocol";
  }

  extension get-filter-element-attributes {
    description
      "If this extension is present within an 'anyxml'
       statement named 'filter', which must be conceptually
       defined within the RPC input section for the

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
&lt;get&gt;
       and &lt;get-config&gt; protocol operations, then the
       following unqualified XML attribute is supported
       within the &lt;filter&gt; element, within a &lt;get&gt; or
       &lt;get-config&gt; protocol operation:

         type : optional attribute with allowed
                value strings 'subtree' and 'xpath'.
                If missing, the default value is 'subtree'.

       If the 'xpath' feature is supported, then the
       following unqualified XML attribute is
       also supported:

         select: optional attribute containing a
                 string representing an XPath expression.
                 The 'type' attribute must be equal to 'xpath'
                 if this attribute is present.";
  }


  feature writable-running {
    description
      "NETCONF :writable-running capability;
       If the server advertises the :writable-running
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
must not be enabled.";
    reference
      "RFC 6241, Section 8.2";
  }

  feature candidate {
    description
      "NETCONF :candidate capability;
       If the server advertises the :candidate
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.3";
  }

  feature confirmed-commit {
    if-feature "candidate";
    description
      "NETCONF :confirmed-commit:1.1 capability;
       If the server advertises the :confirmed-commit:1.1
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.4";
  }

  feature rollback-on-error {
    description
      "NETCONF :rollback-on-error capability;
       If the server advertises the :rollback-on-error
       capability for a session, then this feature must
       also be enabled for that session.

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.5";
  }

  feature validate {
    description
      "NETCONF :validate:1.1 capability;
       If the server advertises the :validate:1.1
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.6";
  }

  feature startup {
    description
      "NETCONF :startup capability;
       If the server advertises the :startup
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.7";
  }

  feature url {
    description
      "NETCONF :url capability;
       If the server advertises the :url
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

      "RFC 6241, Section 8.8";
  }

  feature xpath {
    description
      "NETCONF :xpath capability;
       If the server advertises the :xpath
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.9";
  }

  typedef session-id-type {
    type uint32 {
      range "1..max";
    }
    description
      "NETCONF Session Id";
  }

  typedef session-id-or-zero-type {
    type uint32;
    description
      "NETCONF Session Id or Zero to indicate none";
  }

  typedef error-tag-type {
    type enumeration {
      enum "in-use" {
        description
          "The request requires a resource that
           already is in use.";
      }
      enum "invalid-value" {
        description
          "The request specifies an unacceptable value for one
           or more parameters.";
      }
      enum "too-big" {
        description
          "The request or response (that would b

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e generated) is
           too large for the implementation to handle.";
      }
      enum "missing-attribute" {
        description
          "An expected attribute is missing.";
      }
      enum "bad-attribute" {
        description
          "An attribute value is not correct; e.g., wrong type,
           out of range, pattern mismatch.";
      }
      enum "unknown-attribute" {
        description
          "An unexpected attribute is present.";
      }
      enum "missing-element" {
        description
          "An expected element is missing.";
      }
      enum "bad-element" {
        description
          "An element value is not correct; e.g., wrong type,
           out of range, pattern mismatch.";
      }
      enum "unknown-element" {
        description
          "An unexpected element is present.";
      }
      enum "unknown-namespace" {
        description
          "An unexpected namespace is present.";
      }
      enum "access-denied" {
        description
          "Access to the req

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
uested protocol operation or
           data model is denied because authorization failed.";
      }
      enum "lock-denied" {
        description
          "Access to the requested lock is denied because the
           lock is currently held by another entity.";
      }
      enum "resource-denied" {
        description
          "Request could not be completed because of
           insufficient resources.";
      }
      enum "rollback-failed" {
        description
          "Request to roll back some configuration change (via
           rollback-on-error or &lt;discard-changes&gt; operations)
           was not completed for some reason.";
      }
      enum "data-exists" {
        description
          "Request could not be completed because the relevant
           data model content already exists.  For example,
           a 'create' operation was attempted on data that
           already exists.";
      }
      enum "data-missing" {
        description
          "Request could not be completed because

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
the relevant
           data model content does not exist.  For example,
           a 'delete' operation was attempted on
           data that does not exist.";
      }
      enum "operation-not-supported" {
        description
          "Request could not be completed because the requested
           operation is not supported by this implementation.";
      }
      enum "operation-failed" {
        description
          "Request could not be completed because the requested
           operation failed for some reason not covered by
           any other error condition.";
      }
      enum "partial-operation" {
        description
          "This error-tag is obsolete, and SHOULD NOT be sent
           by servers conforming to this document.";
      }
      enum "malformed-message" {
        description
          "A message could not be handled because it failed to
           be parsed correctly.  For example, the message is not
           well-formed XML or it uses an invalid character set.";
      }
    }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    description
      "NETCONF Error Tag";
    reference
      "RFC 6241, Appendix A";
  }

  typedef error-severity-type {
    type enumeration {
      enum "error" {
        description
          "Error severity";
      }
      enum "warning" {
        description
          "Warning severity";
      }
    }
    description
      "NETCONF Error Severity";
    reference
      "RFC 6241, Section 4.3";
  }

  typedef edit-operation-type {
    type enumeration {
      enum "merge" {
        description
          "The configuration data identified by the
           element containing this attribute is merged
           with the configuration at the corresponding
           level in the configuration datastore identified
           by the target parameter.";
      }
      enum "replace" {
        description
          "The configuration data identified by the element
           containing this attribute replaces any related
           configuration in the configuration datastore
           identified by the target

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 parameter.  If no such
           configuration data exists in the configuration
           datastore, it is created.  Unlike a
           &lt;copy-config&gt; operation, which replaces the
           entire target configuration, only the configuration
           actually present in the config parameter is affected.";
      }
      enum "create" {
        description
          "The configuration data identified by the element
           containing this attribute is added to the
           configuration if and only if the configuration
           data does not already exist in the configuration
           datastore.  If the configuration data exists, an
           &lt;rpc-error&gt; element is returned with an
           &lt;error-tag&gt; value of 'data-exists'.";
      }
      enum "delete" {
        description
          "The configuration data identified by the element
           containing this attribute is deleted from the
           configuration if and only if the configuration
           data currently

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
exists in the configuration
           datastore.  If the configuration data does not
           exist, an &lt;rpc-error&gt; element is returned with
           an &lt;error-tag&gt; value of 'data-missing'.";
      }
      enum "remove" {
        description
          "The configuration data identified by the element
           containing this attribute is deleted from the
           configuration if the configuration
           data currently exists in the configuration
           datastore.  If the configuration data does not
           exist, the 'remove' operation is silently ignored
           by the server.";
      }
    }
    default "merge";
    description
      "NETCONF 'operation' attribute values";
    reference
      "RFC 6241, Section 7.2";
  }


  rpc get-config {
    description
      "Retrieve all or part of a specified configuration.";
    reference
      "RFC 6241, Section 7.1";
    input {
      container source {
        description
          "Particular configuration to retrieve.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   choice config-source {
          mandatory true;
          description
            "The configuration to retrieve.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config source.";
          }

          leaf running {
            type empty;
            description
              "The running configuration is the config source.";
          }

          leaf startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config source.
               This is optional-to-implement on the server because
               not all servers will support filtering for this
               datastore.";
          }
        }
      }

      anyxml filter {
        nc:get-filter-element-attributes;
        description
          "Subtree or XPath filter to use.";
      }
    }

    output {
      anyxml data {
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    "Copy of the source datastore subset that matched
           the filter criteria (if any).  An empty data container
           indicates that the request did not produce any results.";
      }
    }
  }

  rpc edit-config {
    description
      "The &lt;edit-config&gt; operation loads all or part of a specified
       configuration to the specified target configuration.";
    reference
      "RFC 6241, Section 7.2";
    input {
      container target {
        description
          "Particular configuration to edit.";
        choice config-target {
          mandatory true;
          description
            "The configuration target.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config target.";
          }

          leaf running {
            if-feature "writable-running";
            type empty;
            description
              "The running configuration is the config source.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       }
        }
      }

      leaf default-operation {
        type enumeration {
          enum "merge" {
            description
              "The default operation is merge.";
          }
          enum "replace" {
            description
              "The default operation is replace.";
          }
          enum "none" {
            description
              "There is no default operation.";
          }
        }
        default "merge";
        description
          "The default operation to use.";
      }

      leaf test-option {
        if-feature "validate";
        type enumeration {
          enum "test-then-set" {
            description
              "The server will test and then set if no errors.";
          }
          enum "set" {
            description
              "The server will set without a test first.";
          }
          enum "test-only" {
            description
              "The server will only test and not set, even
               if there are no errors.";
          }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

        }
        default "test-then-set";
        description
          "The test option to use.";
      }

      leaf error-option {
        type enumeration {
          enum "stop-on-error" {
            description
              "The server will stop on errors.";
          }
          enum "continue-on-error" {
            description
              "The server may continue on errors.";
          }
          enum "rollback-on-error" {
            description
              "The server will roll back on errors.
               This value can only be used if the 'rollback-on-error'
               feature is supported.";
          }
        }
        default "stop-on-error";
        description
          "The error option to use.";
      }

      choice edit-content {
        mandatory true;
        description
          "The content for the edit operation.";
        anyxml config {
          description
            "Inline Config content.";
        }

        leaf url {
          if-feature "url";
          t

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ype inet:uri;
          description
            "URL-based config content.";
        }
      }
    }
  }

  rpc copy-config {
    description
      "Create or replace an entire configuration datastore with the
       contents of another complete configuration datastore.";
    reference
      "RFC 6241, Section 7.3";
    input {
      container target {
        description
          "Particular configuration to copy to.";
        choice config-target {
          mandatory true;
          description
            "The configuration target of the copy operation.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config target.";
          }

          leaf running {
            if-feature "writable-running";
            type empty;
            description
              "The running configuration is the config target.
               This is optional-to-implement on the server.";
          }

          le

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
af startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config target.";
          }

          leaf url {
            if-feature "url";
            type inet:uri;
            description
              "The URL-based configuration is the config target.";
          }
        }
      }

      container source {
        description
          "Particular configuration to copy from.";
        choice config-source {
          mandatory true;
          description
            "The configuration source for the copy operation.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config source.";
          }

          leaf running {
            type empty;
            description
              "The running configuration is the config source.";
          }

          leaf startup {
            if-feature "startup";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  type empty;
            description
              "The startup configuration is the config source.";
          }

          leaf url {
            if-feature "url";
            type inet:uri;
            description
              "The URL-based configuration is the config source.";
          }

          anyxml config {
            description
              "Inline Config content: &lt;config&gt; element.  Represents
               an entire configuration datastore, not
               a subset of the running datastore.";
          }
        }
      }
    }
  }

  rpc delete-config {
    nacm:default-deny-all;
    description
      "Delete a configuration datastore.";
    reference
      "RFC 6241, Section 7.4";
    input {
      container target {
        description
          "Particular configuration to delete.";
        choice config-target {
          mandatory true;
          description
            "The configuration target to delete.";
          leaf startup {
            if-feature "startup";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     type empty;
            description
              "The startup configuration is the config target.";
          }

          leaf url {
            if-feature "url";
            type inet:uri;
            description
              "The URL-based configuration is the config target.";
          }
        }
      }
    }
  }

  rpc lock {
    description
      "The lock operation allows the client to lock the configuration
       system of a device.";
    reference
      "RFC 6241, Section 7.5";
    input {
      container target {
        description
          "Particular configuration to lock.";
        choice config-target {
          mandatory true;
          description
            "The configuration target to lock.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config target.";
          }

          leaf running {
            type empty;
            description
              "The running

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 configuration is the config target.";
          }

          leaf startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config target.";
          }
        }
      }
    }
  }

  rpc unlock {
    description
      "The unlock operation is used to release a configuration lock,
       previously obtained with the 'lock' operation.";
    reference
      "RFC 6241, Section 7.6";
    input {
      container target {
        description
          "Particular configuration to unlock.";
        choice config-target {
          mandatory true;
          description
            "The configuration target to unlock.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config target.";
          }

          leaf running {
            type empty;
            description
              "The running configuration is the config tar

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
get.";
          }

          leaf startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config target.";
          }
        }
      }
    }
  }

  rpc get {
    description
      "Retrieve running configuration and device state information.";
    reference
      "RFC 6241, Section 7.7";
    input {
      anyxml filter {
        nc:get-filter-element-attributes;
        description
          "This parameter specifies the portion of the system
           configuration and state data to retrieve.";
      }
    }

    output {
      anyxml data {
        description
          "Copy of the running datastore subset and/or state
           data that matched the filter criteria (if any).
           An empty data container indicates that the request did not
           produce any results.";
      }
    }
  }

  rpc close-session {
    description
      "Request graceful termination of a NETCONF session.";
    reference
      "RFC 6

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
241, Section 7.8";
  }

  rpc kill-session {
    nacm:default-deny-all;
    description
      "Force the termination of a NETCONF session.";
    reference
      "RFC 6241, Section 7.9";
    input {
      leaf session-id {
        type session-id-type;
        mandatory true;
        description
          "Particular session to kill.";
      }
    }
  }

  rpc commit {
    if-feature "candidate";
    description
      "Commit the candidate configuration as the device's new
       current configuration.";
    reference
      "RFC 6241, Section 8.3.4.1";
    input {
      leaf confirmed {
        if-feature "confirmed-commit";
        type empty;
        description
          "Requests a confirmed commit.";
        reference
          "RFC 6241, Section 8.3.4.1";
      }

      leaf confirm-timeout {
        if-feature "confirmed-commit";
        type uint32 {
          range "1..max";
        }
        units "seconds";
        default "600";
        description
          "The timeout interval for a confirmed co

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
mmit.";
        reference
          "RFC 6241, Section 8.3.4.1";
      }

      leaf persist {
        if-feature "confirmed-commit";
        type string;
        description
          "This parameter is used to make a confirmed commit
           persistent.  A persistent confirmed commit is not aborted
           if the NETCONF session terminates.  The only way to abort
           a persistent confirmed commit is to let the timer expire,
           or to use the &lt;cancel-commit&gt; operation.

           The value of this parameter is a token that must be given
           in the 'persist-id' parameter of &lt;commit&gt; or
           &lt;cancel-commit&gt; operations in order to confirm or cancel
           the persistent confirmed commit.

           The token should be a random string.";
        reference
          "RFC 6241, Section 8.3.4.1";
      }

      leaf persist-id {
        if-feature "confirmed-commit";
        type string;
        description
          "This parameter is given in order to commi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t a persistent
           confirmed commit.  The value must be equal to the value
           given in the 'persist' parameter to the &lt;commit&gt; operation.
           If it does not match, the operation fails with an
           'invalid-value' error.";
        reference
          "RFC 6241, Section 8.3.4.1";
      }
    }
  }

  rpc discard-changes {
    if-feature "candidate";
    description
      "Revert the candidate configuration to the current
       running configuration.";
    reference
      "RFC 6241, Section 8.3.4.2";
  }

  rpc cancel-commit {
    if-feature "confirmed-commit";
    description
      "This operation is used to cancel an ongoing confirmed commit.
       If the confirmed commit is persistent, the parameter
       'persist-id' must be given, and it must match the value of the
       'persist' parameter.";
    reference
      "RFC 6241, Section 8.4.4.1";
    input {
      leaf persist-id {
        type string;
        description
          "This parameter is given in order to cancel

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 a persistent
           confirmed commit.  The value must be equal to the value
           given in the 'persist' parameter to the &lt;commit&gt; operation.
           If it does not match, the operation fails with an
           'invalid-value' error.";
      }
    }
  }

  rpc validate {
    if-feature "validate";
    description
      "Validates the contents of the specified configuration.";
    reference
      "RFC 6241, Section 8.6.4.1";
    input {
      container source {
        description
          "Particular configuration to validate.";
        choice config-source {
          mandatory true;
          description
            "The configuration source to validate.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config source.";
          }

          leaf running {
            type empty;
            description
              "The running configuration is the config source.";


[INF]: LN: Session 1: sending message:

#663


[INF]: LN: Session 1: sending message:
  }

          leaf startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config source.";
          }

          leaf url {
            if-feature "url";
            type inet:uri;
            description
              "The URL-based configuration is the config source.";
          }

          anyxml config {
            description
              "Inline Config content: &lt;config&gt; element.  Represents
               an entire configuration datastore, not
               a subset of the running datastore.";
          }
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-netconf-acm</identifier><version>2018-02-14</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-netconf-acm" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-netconf-acm {
  namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-acm";
  prefix nacm;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;

     Author:   Andy Bierman
               &lt;mailto:andy@yumaworks.com&gt;

     Author:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;";
  description
    "Network Configuration Access Control Model.

     Copyright (c) 2012 - 2018 IETF Trust and the persons
     identified as authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD
     Lic

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ense set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 8341; see
     the RFC itself for full legal notices.";

  revision 2018-02-14 {
    description
      "Added support for YANG 1.1 actions and notifications tied to
       data nodes.  Clarified how NACM extensions can be used by
       other data models.";
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }
  revision 2012-02-22 {
    description
      "Initial version.";
    reference
      "RFC 6536: Network Configuration Protocol (NETCONF)
                 Access Control Model";
  }

  extension default-deny-write {
    description
      "Used to indicate that the data model node
       represents a sensitive security system parameter.

       If present, the NETCONF server will only allow the designated
       'recovery session' to have write access to the node.  An
       explicit

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 access control rule is required for all other users.

       If the NACM module is used, then it must be enabled (i.e.,
       /nacm/enable-nacm object equals 'true'), or this extension
       is ignored.

       The 'default-deny-write' extension MAY appear within a data
       definition statement.  It is ignored otherwise.";
  }

  extension default-deny-all {
    description
      "Used to indicate that the data model node
       controls a very sensitive security system parameter.

       If present, the NETCONF server will only allow the designated
       'recovery session' to have read, write, or execute access to
       the node.  An explicit access control rule is required for all
       other users.

       If the NACM module is used, then it must be enabled (i.e.,
       /nacm/enable-nacm object equals 'true'), or this extension
       is ignored.

       The 'default-deny-all' extension MAY appear within a data
       definition statement, 'rpc' statement, or 'notification'
       statement.  It

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
is ignored otherwise.";
  }

  typedef user-name-type {
    type string {
      length "1..max";
    }
    description
      "General-purpose username string.";
  }

  typedef matchall-string-type {
    type string {
      pattern "\\*";
    }
    description
      "The string containing a single asterisk '*' is used
       to conceptually represent all possible values
       for the particular leaf using this data type.";
  }

  typedef access-operations-type {
    type bits {
      bit create {
        description
          "Any protocol operation that creates a
           new data node.";
      }
      bit read {
        description
          "Any protocol operation or notification that
           returns the value of a data node.";
      }
      bit update {
        description
          "Any protocol operation that alters an existing
           data node.";
      }
      bit delete {
        description
          "Any protocol operation that removes a data node.";
      }
      bit exec {
        descrip

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tion
          "Execution access to the specified protocol operation.";
      }
    }
    description
      "Access operation.";
  }

  typedef group-name-type {
    type string {
      length "1..max";
      pattern "[^\\*].*";
    }
    description
      "Name of administrative group to which
       users can be assigned.";
  }

  typedef action-type {
    type enumeration {
      enum "permit" {
        description
          "Requested action is permitted.";
      }
      enum "deny" {
        description
          "Requested action is denied.";
      }
    }
    description
      "Action taken by the server when a particular
       rule matches.";
  }

  typedef node-instance-identifier {
    type yang:xpath1.0;
    description
      "Path expression used to represent a special
       data node, action, or notification instance-identifier
       string.

       A node-instance-identifier value is an
       unrestricted YANG instance-identifier expression.
       All the same rules as an instance-identifie

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
r apply,
       except that predicates for keys are optional.  If a key
       predicate is missing, then the node-instance-identifier
       represents all possible server instances for that key.

       This XML Path Language (XPath) expression is evaluated in the
       following context:

          o  The set of namespace declarations are those in scope on
             the leaf element where this type is used.

          o  The set of variable bindings contains one variable,
             'USER', which contains the name of the user of the
             current session.

          o  The function library is the core function library, but
             note that due to the syntax restrictions of an
             instance-identifier, no functions are allowed.

          o  The context node is the root node in the data tree.

       The accessible tree includes actions and notifications tied
       to data nodes.";
  }

  container nacm {
    nacm:default-deny-all;
    description
      "Parameters for NETCONF ac

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
cess control model.";
    leaf enable-nacm {
      type boolean;
      default "true";
      description
        "Enables or disables all NETCONF access control
         enforcement.  If 'true', then enforcement
         is enabled.  If 'false', then enforcement
         is disabled.";
    }

    leaf read-default {
      type action-type;
      default "permit";
      description
        "Controls whether read access is granted if
         no appropriate rule is found for a
         particular read request.";
    }

    leaf write-default {
      type action-type;
      default "deny";
      description
        "Controls whether create, update, or delete access
         is granted if no appropriate rule is found for a
         particular write request.";
    }

    leaf exec-default {
      type action-type;
      default "permit";
      description
        "Controls whether exec access is granted if no appropriate
         rule is found for a particular protocol operation request.";
    }

    leaf enable-e

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
xternal-groups {
      type boolean;
      default "true";
      description
        "Controls whether the server uses the groups reported by the
         NETCONF transport layer when it assigns the user to a set of
         NACM groups.  If this leaf has the value 'false', any group
         names reported by the transport layer are ignored by the
         server.";
    }

    leaf denied-operations {
      type yang:zero-based-counter32;
      config false;
      mandatory true;
      description
        "Number of times since the server last restarted that a
         protocol operation request was denied.";
    }

    leaf denied-data-writes {
      type yang:zero-based-counter32;
      config false;
      mandatory true;
      description
        "Number of times since the server last restarted that a
         protocol operation request to alter
         a configuration datastore was denied.";
    }

    leaf denied-notifications {
      type yang:zero-based-counter32;
      config false;
      mandatory

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
true;
      description
        "Number of times since the server last restarted that
         a notification was dropped for a subscription because
         access to the event type was denied.";
    }

    container groups {
      description
        "NETCONF access control groups.";
      list group {
        key "name";
        description
          "One NACM group entry.  This list will only contain
           configured entries, not any entries learned from
           any transport protocols.";
        leaf name {
          type group-name-type;
          description
            "Group name associated with this entry.";
        }

        leaf-list user-name {
          type user-name-type;
          description
            "Each entry identifies the username of
             a member of the group associated with
             this entry.";
        }
      }
    }

    list rule-list {
      key "name";
      ordered-by user;
      description
        "An ordered collection of access control rules.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  leaf name {
        type string {
          length "1..max";
        }
        description
          "Arbitrary name assigned to the rule-list.";
      }

      leaf-list group {
        type union {
          type matchall-string-type;
          type group-name-type;
        }
        description
          "List of administrative groups that will be
           assigned the associated access rights
           defined by the 'rule' list.

           The string '*' indicates that all groups apply to the
           entry.";
      }

      list rule {
        key "name";
        ordered-by user;
        description
          "One access control rule.

           Rules are processed in user-defined order until a match is
           found.  A rule matches if 'module-name', 'rule-type', and
           'access-operations' match the request.  If a rule
           matches, the 'action' leaf determines whether or not
           access is granted.";
        leaf name {
          type string {
            length "1..max

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
";
          }
          description
            "Arbitrary name assigned to the rule.";
        }

        leaf module-name {
          type union {
            type matchall-string-type;
            type string;
          }
          default "*";
          description
            "Name of the module associated with this rule.

             This leaf matches if it has the value '*' or if the
             object being accessed is defined in the module with the
             specified module name.";
        }

        choice rule-type {
          description
            "This choice matches if all leafs present in the rule
             match the request.  If no leafs are present, the
             choice matches all requests.";
          case protocol-operation {
            leaf rpc-name {
              type union {
                type matchall-string-type;
                type string;
              }
              description
                "This leaf matches if it has the value '*' or if
                 it

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
s value equals the requested protocol operation
                 name.";
            }
          }

          case notification {
            leaf notification-name {
              type union {
                type matchall-string-type;
                type string;
              }
              description
                "This leaf matches if it has the value '*' or if its
                 value equals the requested notification name.";
            }
          }

          case data-node {
            leaf path {
              type node-instance-identifier;
              mandatory true;
              description
                "Data node instance-identifier associated with the
                 data node, action, or notification controlled by
                 this rule.

                 Configuration data or state data
                 instance-identifiers start with a top-level
                 data node.  A complete instance-identifier is
                 required for this type of path value.



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      The special value '/' refers to all possible
                 datastore contents.";
            }
          }
        }

        leaf access-operations {
          type union {
            type matchall-string-type;
            type access-operations-type;
          }
          default "*";
          description
            "Access operations associated with this rule.

             This leaf matches if it has the value '*' or if the
             bit corresponding to the requested operation is set.";
        }

        leaf action {
          type action-type;
          mandatory true;
          description
            "The access control action associated with the
             rule.  If a rule has been determined to match a
             particular request, then this object is used
             to determine whether to permit or deny the
             request.";
        }

        leaf comment {
          type string;
          description
            "A textual description of the access rule.";
        }

[INF]: LN: Session 1: sending message:

#40


[INF]: LN: Session 1: sending message:

      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-yang-library</identifier><version>2019-01-04</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-yang-library" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-yang-library {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-yang-library";
  prefix yanglib;

  import ietf-yang-types {
    prefix yang;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-datastores {
    prefix ds;
    reference
      "RFC 8342: Network Management Datastore Architecture
                 (NMDA)";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;

     Author:   Andy Bierman
               &lt;mailto:andy@yumaworks.com&gt;

     Author:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;

     Author:   Juergen Schoenwaelder


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;

     Author:   Kent Watsen
               &lt;mailto:kent+ietf@watsen.net&gt;

     Author:   Robert Wilton
               &lt;mailto:rwilton@cisco.com&gt;";
  description
    "This module provides information about the YANG modules,
     datastores, and datastore schemas used by a network
     management server.

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
     NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
     'MAY', and 'OPTIONAL' in this document are to be interpreted as
     described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
     they appear in all capitals, as shown here.

     Copyright (c) 2019 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Se

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ction 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 8525; see
     the RFC itself for full legal notices.";

  revision 2019-01-04 {
    description
      "Added support for multiple datastores according to the
       Network Management Datastore Architecture (NMDA).";
    reference
      "RFC 8525: YANG Library";
  }
  revision 2016-04-09 {
    description
      "Initial revision.";
    reference
      "RFC 7895: YANG Module Library";
  }

  typedef revision-identifier {
    type string {
      pattern "\\d{4}-\\d{2}-\\d{2}";
    }
    description
      "Represents a specific date in YYYY-MM-DD format.";
  }

  grouping module-identification-leafs {
    description
      "Parameters for identifying YANG modules and submodules.";
    leaf name {
      type yang:yang-identifier;
      mandatory true;
      description
        "The YANG module or submodule name.";
    }

    leaf revisi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on {
      type revision-identifier;
      description
        "The YANG module or submodule revision date.  If no revision
         statement is present in the YANG module or submodule, this
         leaf is not instantiated.";
    }
  }

  grouping location-leaf-list {
    description
      "Common leaf-list parameter for the locations of modules and
       submodules.";
    leaf-list location {
      type inet:uri;
      description
        "Contains a URL that represents the YANG schema
         resource for this module or submodule.

         This leaf will only be present if there is a URL
         available for retrieval of the schema for this entry.";
    }
  }

  grouping module-implementation-parameters {
    description
      "Parameters for describing the implementation of a module.";
    leaf-list feature {
      type yang:yang-identifier;
      description
        "List of all YANG feature names from this module that are
         supported by the server, regardless whether they are defined


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    in the module or any included submodule.";
    }

    leaf-list deviation {
      type leafref {
        path "../../module/name";
      }
      description
        "List of all YANG deviation modules used by this server to
         modify the conformance of the module associated with this
         entry.  Note that the same module can be used for deviations
         for multiple modules, so the same entry MAY appear within
         multiple 'module' entries.

         This reference MUST NOT (directly or indirectly)
         refer to the module being deviated.

         Robust clients may want to make sure that they handle a
         situation where a module deviates itself (directly or
         indirectly) gracefully.";
    }
  }

  grouping module-set-parameters {
    description
      "A set of parameters that describe a module set.";
    leaf name {
      type string;
      description
        "An arbitrary name of the module set.";
    }

    list module {
      key "name";
      description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "An entry in this list represents a module implemented by the
         server, as per Section 5.6.5 of RFC 7950, with a particular
         set of supported features and deviations.";
      reference
        "RFC 7950: The YANG 1.1 Data Modeling Language";
      uses module-identification-leafs;

      leaf namespace {
        type inet:uri;
        mandatory true;
        description
          "The XML namespace identifier for this module.";
      }

      uses location-leaf-list;

      list submodule {
        key "name";
        description
          "Each entry represents one submodule within the
           parent module.";
        uses module-identification-leafs;

        uses location-leaf-list;
      }

      uses module-implementation-parameters;
    }

    list import-only-module {
      key "name revision";
      description
        "An entry in this list indicates that the server imports
         reusable definitions from the specified revision of the
         module but does not implement any p

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rotocol-accessible
         objects from this revision.

         Multiple entries for the same module name MAY exist.  This
         can occur if multiple modules import the same module but
         specify different revision dates in the import statements.";
      leaf name {
        type yang:yang-identifier;
        description
          "The YANG module name.";
      }

      leaf revision {
        type union {
          type revision-identifier;
          type string {
            length "0";
          }
        }
        description
          "The YANG module revision date.
           A zero-length string is used if no revision statement
           is present in the YANG module.";
      }

      leaf namespace {
        type inet:uri;
        mandatory true;
        description
          "The XML namespace identifier for this module.";
      }

      uses location-leaf-list;

      list submodule {
        key "name";
        description
          "Each entry represents one submodule within the


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     parent module.";
        uses module-identification-leafs;

        uses location-leaf-list;
      }
    }
  }

  grouping yang-library-parameters {
    description
      "The YANG library data structure is represented as a grouping
       so it can be reused in configuration or another monitoring
       data structure.";
    list module-set {
      key "name";
      description
        "A set of modules that may be used by one or more schemas.

         A module set does not have to be referentially complete,
         i.e., it may define modules that contain import statements
         for other modules not included in the module set.";
      uses module-set-parameters;
    }

    list schema {
      key "name";
      description
        "A datastore schema that may be used by one or more
         datastores.

         The schema must be valid and referentially complete, i.e.,
         it must contain modules to satisfy all used import
         statements for all modules specified in the schema.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
leaf name {
        type string;
        description
          "An arbitrary name of the schema.";
      }

      leaf-list module-set {
        type leafref {
          path "../../module-set/name";
        }
        description
          "A set of module-sets that are included in this schema.
           If a non-import-only module appears in multiple module
           sets, then the module revision and the associated features
           and deviations must be identical.";
      }
    }

    list datastore {
      key "name";
      description
        "A datastore supported by this server.

         Each datastore indicates which schema it supports.

         The server MUST instantiate one entry in this list per
         specific datastore it supports.
         Each datastore entry with the same datastore schema SHOULD
         reference the same schema.";
      leaf name {
        type ds:datastore-ref;
        description
          "The identity of the datastore.";
      }

      leaf schema {
        typ

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e leafref {
          path "../../schema/name";
        }
        mandatory true;
        description
          "A reference to the schema supported by this datastore.
           All non-import-only modules of the schema are implemented
           with their associated features and deviations.";
      }
    }
  }

  grouping module-list {
    status deprecated;
    description
      "The module data structure is represented as a grouping
       so it can be reused in configuration or another monitoring
       data structure.";
    grouping common-leafs {
      status deprecated;
      description
        "Common parameters for YANG modules and submodules.";
      leaf name {
        type yang:yang-identifier;
        status deprecated;
        description
          "The YANG module or submodule name.";
      }

      leaf revision {
        type union {
          type revision-identifier;
          type string {
            length "0";
          }
        }
        status deprecated;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     "The YANG module or submodule revision date.
           A zero-length string is used if no revision statement
           is present in the YANG module or submodule.";
      }
    }

    grouping schema-leaf {
      status deprecated;
      description
        "Common schema leaf parameter for modules and submodules.";
      leaf schema {
        type inet:uri;
        status deprecated;
        description
          "Contains a URL that represents the YANG schema
           resource for this module or submodule.

           This leaf will only be present if there is a URL
           available for retrieval of the schema for this entry.";
      }
    }

    list module {
      key "name revision";
      status deprecated;
      description
        "Each entry represents one revision of one module
         currently supported by the server.";
      uses common-leafs {
        status deprecated;
      }

      uses schema-leaf {
        status deprecated;
      }

      leaf namespace {
        type inet:ur

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
i;
        mandatory true;
        status deprecated;
        description
          "The XML namespace identifier for this module.";
      }

      leaf-list feature {
        type yang:yang-identifier;
        status deprecated;
        description
          "List of YANG feature names from this module that are
           supported by the server, regardless of whether they are
           defined in the module or any included submodule.";
      }

      list deviation {
        key "name revision";
        status deprecated;
        description
          "List of YANG deviation module names and revisions
           used by this server to modify the conformance of
           the module associated with this entry.  Note that
           the same module can be used for deviations for
           multiple modules, so the same entry MAY appear
           within multiple 'module' entries.

           The deviation module MUST be present in the 'module'
           list, with the same name and revision values.


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   The 'conformance-type' value will be 'implement' for
           the deviation module.";
        uses common-leafs {
          status deprecated;
        }
      }

      leaf conformance-type {
        type enumeration {
          enum "implement" {
            description
              "Indicates that the server implements one or more
               protocol-accessible objects defined in the YANG module
               identified in this entry.  This includes deviation
               statements defined in the module.

               For YANG version 1.1 modules, there is at most one
               'module' entry with conformance type 'implement' for a
               particular module name, since YANG 1.1 requires that
               at most one revision of a module is implemented.

               For YANG version 1 modules, there SHOULD NOT be more
               than one 'module' entry for a particular module
               name.";
          }
          enum "import" {
            description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  "Indicates that the server imports reusable definitions
               from the specified revision of the module but does
               not implement any protocol-accessible objects from
               this revision.

               Multiple 'module' entries for the same module name MAY
               exist.  This can occur if multiple modules import the
               same module but specify different revision dates in
               the import statements.";
          }
        }
        mandatory true;
        status deprecated;
        description
          "Indicates the type of conformance the server is claiming
           for the YANG module identified by this entry.";
      }

      list submodule {
        key "name revision";
        status deprecated;
        description
          "Each entry represents one submodule within the
           parent module.";
        uses common-leafs {
          status deprecated;
        }

        uses schema-leaf {
          status deprecated;
        }
      }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   }
  }

  container yang-library {
    config false;
    description
      "Container holding the entire YANG library of this server.";
    uses yang-library-parameters;

    leaf content-id {
      type string;
      mandatory true;
      description
        "A server-generated identifier of the contents of the
         '/yang-library' tree.  The server MUST change the value of
         this leaf if the information represented by the
         '/yang-library' tree, except '/yang-library/content-id', has
         changed.";
    }
  }

  container modules-state {
    config false;
    status deprecated;
    description
      "Contains YANG module monitoring information.";
    leaf module-set-id {
      type string;
      mandatory true;
      status deprecated;
      description
        "Contains a server-specific identifier representing
         the current set of modules and submodules.  The
         server MUST change the value of this leaf if the
         information represented by the 'module' list insta

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nces
         has changed.";
    }

    uses module-list {
      status deprecated;
    }
  }

  notification yang-library-update {
    description
      "Generated when any YANG library information on the
       server has changed.";
    leaf content-id {
      type leafref {
        path "/yanglib:yang-library/yanglib:content-id";
      }
      mandatory true;
      description
        "Contains the YANG library content identifier for the updated
         YANG library at the time the notification is generated.";
    }
  }

  notification yang-library-change {
    status deprecated;
    description
      "Generated when the set of modules and submodules supported
       by the server has changed.";
    leaf module-set-id {
      type leafref {
        path "/yanglib:modules-state/yanglib:module-set-id";
      }
      mandatory true;
      status deprecated;
      description
        "Contains the module-set-id value representing the
         set of modules and submodules supported at the server
         at t

[INF]: LN: Session 1: sending message:

#72


[INF]: LN: Session 1: sending message:
he time the notification is generated.";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="4"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-datastores</identifier><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-datastores" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="4"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-datastores {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-datastores";
  prefix ds;

  organization
    "IETF Network Modeling (NETMOD) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;

     WG List:  &lt;mailto:netmod@ietf.org&gt;

     Author:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;

     Author:   Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;

     Author:   Phil Shafer
               &lt;mailto:phil@juniper.net&gt;

     Author:   Kent Watsen
               &lt;mailto:kwatsen@juniper.net&gt;

     Author:   Rob Wilton
               &lt;rwilton@cisco.com&gt;";
  description
    "This YANG module defines a set of identities for identifying
     datastores.

     Copyright (c) 2018 IETF Trust and the persons identified as
     autho

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rs of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject to
     the license terms contained in, the Simplified BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 8342
     (https://www.rfc-editor.org/info/rfc8342); see the RFC itself
     for full legal notices.";

  revision 2018-02-14 {
    description
      "Initial revision.";
    reference
      "RFC 8342: Network Management Datastore Architecture (NMDA)";
  }

  identity datastore {
    description
      "Abstract base identity for datastore identities.";
  }

  identity conventional {
    base datastore;
    description
      "Abstract base identity for conventional configuration
       datastores.";
  }

  identity running {
    base conventional;
    description
      "The running co

[INF]: LN: Session 1: sending message:

#768


[INF]: LN: Session 1: sending message:
nfiguration datastore.";
  }

  identity candidate {
    base conventional;
    description
      "The candidate configuration datastore.";
  }

  identity startup {
    base conventional;
    description
      "The startup configuration datastore.";
  }

  identity intended {
    base conventional;
    description
      "The intended configuration datastore.";
  }

  identity dynamic {
    base datastore;
    description
      "Abstract base identity for dynamic configuration datastores.";
  }

  identity operational {
    base datastore;
    description
      "The operational state datastore.";
  }

  typedef datastore-ref {
    type identityref {
      base datastore;
    }
    description
      "A datastore identity reference.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="5"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-datastores</identifier><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-datastores" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="5"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-datastores {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-datastores";
  prefix ds;

  organization
    "IETF Network Modeling (NETMOD) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;

     WG List:  &lt;mailto:netmod@ietf.org&gt;

     Author:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;

     Author:   Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;

     Author:   Phil Shafer
               &lt;mailto:phil@juniper.net&gt;

     Author:   Kent Watsen
               &lt;mailto:kwatsen@juniper.net&gt;

     Author:   Rob Wilton
               &lt;rwilton@cisco.com&gt;";
  description
    "This YANG module defines a set of identities for identifying
     datastores.

     Copyright (c) 2018 IETF Trust and the persons identified as
     autho

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rs of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject to
     the license terms contained in, the Simplified BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 8342
     (https://www.rfc-editor.org/info/rfc8342); see the RFC itself
     for full legal notices.";

  revision 2018-02-14 {
    description
      "Initial revision.";
    reference
      "RFC 8342: Network Management Datastore Architecture (NMDA)";
  }

  identity datastore {
    description
      "Abstract base identity for datastore identities.";
  }

  identity conventional {
    base datastore;
    description
      "Abstract base identity for conventional configuration
       datastores.";
  }

  identity running {
    base conventional;
    description
      "The running co

[INF]: LN: Session 1: sending message:

#768


[INF]: LN: Session 1: sending message:
nfiguration datastore.";
  }

  identity candidate {
    base conventional;
    description
      "The candidate configuration datastore.";
  }

  identity startup {
    base conventional;
    description
      "The startup configuration datastore.";
  }

  identity intended {
    base conventional;
    description
      "The intended configuration datastore.";
  }

  identity dynamic {
    base datastore;
    description
      "Abstract base identity for dynamic configuration datastores.";
  }

  identity operational {
    base datastore;
    description
      "The operational state datastore.";
  }

  typedef datastore-ref {
    type identityref {
      base datastore;
    }
    description
      "A datastore identity reference.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6"><get xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><filter type="xpath" xmlns:yanglib="urn:ietf:params:xml:ns:yang:ietf-yang-library" select="/yanglib:*"/></get></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/ietf-netconf:get" with ID 1 priority 0 for 1 subscribers.
[INF]: SR: Processing "/ietf-netconf:get" "rpc" event with ID 1 priority 0 (remaining 1 subscribers).
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Successful processing of "rpc" event with ID 1 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 1 priority 0 succeeded.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6"><data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><yang-library xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-library"><module-set><name>complete</name><module><name>ietf-yang-metadata</name><revision>2016-08-05</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-yang-metadata</namespace></module><module><name>yang</name><revision>2017-02-20</revision><namespace>urn:ietf:params:xml:ns:yang:1</namespace></module><module><name>ietf-inet-types</name><revision>2013-07-15</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-inet-types</namespace></module><module><name>ietf-yang-types</name><revision>2013-07-15</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-yang-types</namespace></module><module><name>sysrepo</name><revision>2020-01-15</revision><namespace>http://www.sysrepo.org/yang/sysrepo</namespace></module><module><name>ietf-datastores</name><revision>2018-02-14</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-datastore

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
s</namespace><location>file:///etc/sysrepo/yang/ietf-datastores@2018-02-14.yang</location></module><module><name>ietf-yang-library</name><revision>2019-01-04</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-yang-library</namespace><location>file:///etc/sysrepo/yang/ietf-yang-library@2019-01-04.yang</location></module><module><name>sysrepo-monitoring</name><revision>2020-04-17</revision><namespace>http://www.sysrepo.org/yang/sysrepo-monitoring</namespace><location>file:///etc/sysrepo/yang/sysrepo-monitoring@2020-04-17.yang</location></module><module><name>ietf-netconf-acm</name><revision>2018-02-14</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-acm</namespace><location>file:///etc/sysrepo/yang/ietf-netconf-acm@2018-02-14.yang</location></module><module><name>ietf-netconf</name><revision>2013-09-29</revision><namespace>urn:ietf:params:xml:ns:netconf:base:1.0</namespace><location>file:///etc/sysrepo/yang/ietf-netconf@2013-09-29.yang</location><feature>writable-running</feature><feature>candid

[INF]: LN: Session 1: sending message:

#1017


[INF]: LN: Session 1: sending message:
ate</feature><feature>rollback-on-error</feature><feature>validate</feature><feature>startup</feature><feature>url</feature><feature>xpath</feature></module><module><name>ietf-netconf-with-defaults</name><revision>2011-06-01</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults</namespace><location>file:///etc/sysrepo/yang/ietf-netconf-with-defaults@2011-06-01.yang</location></module><module><name>ietf-netconf-notifications</name><revision>2012-02-06</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-notifications</namespace><location>file:///etc/sysrepo/yang/ietf-netconf-notifications@2012-02-06.yang</location></module><module><name>ietf-origin</name><revision>2018-02-14</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-origin</namespace><location>file:///etc/sysrepo/yang/ietf-origin@2018-02-14.yang</location></module><module><name>ietf-netconf-monitoring</name><revision>2010-10-04</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring</namespace>

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<location>file:///etc/sysrepo/yang/ietf-netconf-monitoring@2010-10-04.yang</location></module><module><name>ietf-netconf-nmda</name><revision>2019-01-07</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-nmda</namespace><location>file:///etc/sysrepo/yang/ietf-netconf-nmda@2019-01-07.yang</location><feature>origin</feature><feature>with-defaults</feature></module><module><name>notifications</name><revision>2008-07-14</revision><namespace>urn:ietf:params:xml:ns:netconf:notification:1.0</namespace><location>file:///etc/sysrepo/yang/notifications@2008-07-14.yang</location></module><module><name>nc-notifications</name><revision>2008-07-14</revision><namespace>urn:ietf:params:xml:ns:netmod:notification</namespace><location>file:///etc/sysrepo/yang/nc-notifications@2008-07-14.yang</location></module><module><name>ietf-x509-cert-to-name</name><revision>2014-12-10</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name</namespace><location>file:///etc/sysrepo/yang/ietf-x509-cert-to-name@2014

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
-12-10.yang</location></module><module><name>ietf-crypto-types</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-crypto-types</namespace><location>file:///etc/sysrepo/yang/ietf-crypto-types@2019-07-02.yang</location></module><module><name>ietf-keystore</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-keystore</namespace><location>file:///etc/sysrepo/yang/ietf-keystore@2019-07-02.yang</location><feature>keystore-supported</feature></module><module><name>ietf-truststore</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-truststore</namespace><location>file:///etc/sysrepo/yang/ietf-truststore@2019-07-02.yang</location><feature>truststore-supported</feature><feature>x509-certificates</feature></module><module><name>ietf-tcp-common</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-tcp-common</namespace><location>file:///etc/sysrepo/yang/ietf-tcp-common@2019-07-02.yang</location><feature>keepa

[INF]: LN: Session 1: sending message:

#1023


[INF]: LN: Session 1: sending message:
lives-supported</feature></module><module><name>ietf-ssh-common</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-ssh-common</namespace><location>file:///etc/sysrepo/yang/ietf-ssh-common@2019-07-02.yang</location></module><module><name>iana-crypt-hash</name><revision>2014-08-06</revision><namespace>urn:ietf:params:xml:ns:yang:iana-crypt-hash</namespace><location>file:///etc/sysrepo/yang/iana-crypt-hash@2014-08-06.yang</location></module><module><name>ietf-ssh-server</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-ssh-server</namespace><location>file:///etc/sysrepo/yang/ietf-ssh-server@2019-07-02.yang</location><feature>local-client-auth-supported</feature></module><module><name>ietf-tls-common</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-tls-common</namespace><location>file:///etc/sysrepo/yang/ietf-tls-common@2019-07-02.yang</location></module><module><name>ietf-tls-server</name><revision>2019-07-02</revision>

[INF]: LN: Session 1: sending message:

#1023


[INF]: LN: Session 1: sending message:
<namespace>urn:ietf:params:xml:ns:yang:ietf-tls-server</namespace><location>file:///etc/sysrepo/yang/ietf-tls-server@2019-07-02.yang</location><feature>local-client-auth-supported</feature></module><module><name>ietf-tcp-client</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-tcp-client</namespace><location>file:///etc/sysrepo/yang/ietf-tcp-client@2019-07-02.yang</location></module><module><name>ietf-tcp-server</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-tcp-server</namespace><location>file:///etc/sysrepo/yang/ietf-tcp-server@2019-07-02.yang</location></module><module><name>ietf-netconf-server</name><revision>2019-07-02</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-server</namespace><location>file:///etc/sysrepo/yang/ietf-netconf-server@2019-07-02.yang</location><feature>ssh-listen</feature><feature>tls-listen</feature><feature>ssh-call-home</feature><feature>tls-call-home</feature></module><module><name>iana-hardware</name>

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<revision>2018-03-13</revision><namespace>urn:ietf:params:xml:ns:yang:iana-hardware</namespace><location>file:///etc/sysrepo/yang/iana-hardware@2018-03-13.yang</location></module><module><name>ietf-interfaces</name><revision>2018-02-20</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-interfaces</namespace><location>file:///etc/sysrepo/yang/ietf-interfaces@2018-02-20.yang</location></module><module><name>iana-if-type</name><revision>2017-01-19</revision><namespace>urn:ietf:params:xml:ns:yang:iana-if-type</namespace><location>file:///etc/sysrepo/yang/iana-if-type@2017-01-19.yang</location></module><module><name>ietf-dhcpv6-types</name><revision>2018-01-30</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-dhcpv6-types</namespace><location>file:///etc/sysrepo/yang/ietf-dhcpv6-types@2018-01-30.yang</location></module><module><name>ietf-hardware</name><revision>2018-03-13</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-hardware</namespace><location>file:///etc/sysrepo/yang/ietf-hardware@2018-03-13.ya

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ng</location><feature>hardware-state</feature><feature>hardware-sensor</feature></module><module><name>ietf-ip</name><revision>2018-02-22</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-ip</namespace><location>file:///etc/sysrepo/yang/ietf-ip@2018-02-22.yang</location><feature>ipv4-non-contiguous-netmasks</feature></module><module><name>o-ran-compression-factors</name><revision>2020-03-05</revision><namespace>urn:o-ran:compression-factors:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-compression-factors@2020-03-05.yang</location></module><module><name>o-ran-delay-management</name><revision>2019-07-03</revision><namespace>urn:o-ran:delay:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-delay-management@2019-07-03.yang</location><feature>ADAPTIVE-RU-PROFILE</feature></module><module><name>o-ran-dhcp</name><revision>2019-07-03</revision><namespace>urn:o-ran:dhcp:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-dhcp@2019-07-03.yang</location></module><module><name>o-ran-file-manageme

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nt</name><revision>2019-07-03</revision><namespace>urn:o-ran:file-management:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-file-management@2019-07-03.yang</location></module><module><name>o-ran-interfaces</name><revision>2020-04-17</revision><namespace>urn:o-ran:interfaces:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-interfaces@2020-04-17.yang</location><feature>ALIASMAC-BASED-CU-PLANE</feature></module><module><name>o-ran-if-type</name><revision>2020-08-18</revision><namespace>urn:o-ran:o-ran-if-type:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-if-type@2020-08-18.yang</location></module><module><name>o-ran-interfaces-cpri</name><revision>2020-04-03</revision><namespace>urn:o-ran:interfaces-cpri:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-interfaces-cpri@2020-04-03.yang</location><feature>CPRI-INTERFACE</feature></module><module><name>o-ran-module-cap</name><revision>2020-04-17</revision><namespace>urn:o-ran:module-cap:1.0</namespace><location>file:///etc/sysrepo/ya

[INF]: LN: Session 1: sending message:

#1015


[INF]: LN: Session 1: sending message:
ng/o-ran-module-cap@2020-04-17.yang</location><feature>EAXC-ID-GROUP-SUPPORTED</feature><feature>TRANSPORT-FRAGMENTATION</feature><feature>DSS_LTE_NR</feature></module><module><name>o-ran-mplane-int</name><revision>2019-07-03</revision><namespace>urn:o-ran:mplane-interfaces:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-mplane-int@2019-07-03.yang</location></module><module><name>o-ran-operations</name><revision>2019-07-03</revision><namespace>urn:o-ran:operations:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-operations@2019-07-03.yang</location></module><module><name>o-ran-hardware</name><revision>2020-02-19</revision><namespace>urn:o-ran:hardware:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-hardware@2020-02-19.yang</location><feature>ENERGYSAVING</feature></module><module><name>o-ran-software-management</name><revision>2019-07-03</revision><namespace>urn:o-ran:software-management:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-software-management@2019-07-03.yang

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
</location></module><module><name>o-ran-supervision</name><revision>2020-01-24</revision><namespace>urn:o-ran:supervision:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-supervision@2020-01-24.yang</location></module><module><name>o-ran-sync</name><revision>2019-07-03</revision><namespace>urn:o-ran:sync:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-sync@2019-07-03.yang</location><feature>GNSS</feature><feature>ANTI-JAM</feature></module><module><name>o-ran-system-time</name><revision>2020-07-01</revision><namespace>urn:o-ran:o-ran-system-time:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-system-time@2020-07-01.yang</location></module><module><name>o-ran-trace</name><revision>2019-07-03</revision><namespace>urn:o-ran:trace:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-trace@2019-07-03.yang</location></module><module><name>o-ran-transceiver</name><revision>2019-07-03</revision><namespace>urn:o-ran:transceiver:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-transceiv

[INF]: LN: Session 1: sending message:

#1023


[INF]: LN: Session 1: sending message:
er@2019-07-03.yang</location></module><module><name>o-ran-troubleshooting</name><revision>2019-02-04</revision><namespace>urn:o-ran:troubleshooting:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-troubleshooting@2019-02-04.yang</location></module><module><name>o-ran-processing-element</name><revision>2020-04-18</revision><namespace>urn:o-ran:processing-element:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-processing-element@2020-04-18.yang</location></module><module><name>o-ran-uplane-conf</name><revision>2020-04-17</revision><namespace>urn:o-ran:uplane-conf:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-uplane-conf@2020-04-17.yang</location></module><module><name>om-offline-data-management</name><revision>2020-03-06</revision><namespace>nts:om:offline:1.0</namespace><location>file:///etc/sysrepo/yang/om-offline-data-management@2020-03-06.yang</location></module><module><name>telnet-on-netconf</name><revision>2020-05-22</revision><namespace>urn:nts:telnet-on-netconf:1.0</namespace>

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<location>file:///etc/sysrepo/yang/telnet-on-netconf@2020-05-22.yang</location></module><module><name>o-ran-usermgmt</name><revision>2019-07-03</revision><namespace>urn:o-ran:user-mgmt:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-usermgmt@2019-07-03.yang</location></module><module><name>o-ran-delay-management-ru-cpri</name><revision>2020-07-03</revision><namespace>urn:o-ran:delay-ru-cpri:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-delay-management-ru-cpri@2020-07-03.yang</location></module><module><name>o-ran-fm</name><revision>2019-02-04</revision><namespace>urn:o-ran:fm:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-fm@2019-02-04.yang</location></module><module><name>o-ran-sync-cpri</name><revision>2020-07-07</revision><namespace>urn:o-ran:sync-cpri:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-sync-cpri@2020-07-07.yang</location></module><module><name>o-ran-lbm</name><revision>2019-02-04</revision><namespace>urn:o-ran:lbm:1.0</namespace><location>file:///etc/sysrep

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
o/yang/o-ran-lbm@2019-02-04.yang</location></module><module><name>o-ran-ald-port</name><revision>2019-07-03</revision><namespace>urn:o-ran:ald-port:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-ald-port@2019-07-03.yang</location><feature>OVERCURRENT-SUPPORTED</feature></module><module><name>o-ran-uplane-conf-option8</name><revision>2020-03-08</revision><namespace>urn:o-ran:uplane-conf-option8:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-uplane-conf-option8@2020-03-08.yang</location></module><module><name>vendor-specific-energy-saving</name><revision>2021-04-09</revision><namespace>urn:vs:energy-saving:1.0</namespace><location>file:///etc/sysrepo/yang/vendor-specific-energy-saving.yang</location></module><module><name>o-ran-processing-element-cpri</name><revision>2020-05-19</revision><namespace>urn:o-ran:processing-element-cpri:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-processing-element-cpri@2020-05-19.yang</location></module><module><name>o-ran-ecpri-delay</name><revision>2

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
019-02-04</revision><namespace>urn:o-ran:message5:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-ecpri-delay@2019-02-04.yang</location></module><module><name>nts-nr-tdd-frame</name><revision>2022-03-17</revision><namespace>urn:nts:yang:nr-tdd-frame</namespace><location>file:///etc/sysrepo/yang/nts-nr-tdd-frame@2022-03-17.yang</location></module><module><name>flexoran-rru-eu-topo</name><revision>2020-07-30</revision><namespace>http://certusnet.com.cn/oam/o-ran-topo</namespace><location>file:///etc/sysrepo/yang/flexoran-rru-eu-topo@2020-07-30.yang</location></module><module><name>nts-delay-ru-cpri-extension</name><revision>2023-02-22</revision><namespace>urn:nts:yang:delay-ru-cpri-extension:1.0</namespace><location>file:///etc/sysrepo/yang/nts-delay-ru-cpri-extension@2023-02-22.yang</location></module><module><name>o-ran-performance-management</name><revision>2023-03-13</revision><namespace>urn:o-ran:performance-management:1.0</namespace><location>file:///etc/sysrepo/yang/o-ran-performance-management@2

[INF]: LN: Session 1: sending message:

#1013


[INF]: LN: Session 1: sending message:
023-03-13.yang</location></module><module><name>nts-oran-extern-interface</name><revision>2023-03-09</revision><namespace>urn:nts:nts-oran-extern-interface:1.0</namespace><location>file:///etc/sysrepo/yang/nts-oran-extern-interface@2023-03-09.yang</location></module><module><name>nts-performance-management-extension</name><revision>2023-04-14</revision><namespace>urn:nts:yang:nts-performance-management-extension</namespace><location>file:///etc/sysrepo/yang/nts-performance-management-extension@2023-04-14.yang</location></module></module-set><schema><name>complete</name><module-set>complete</module-set></schema><content-id>75</content-id><datastore><name xmlns:ds="urn:ietf:params:xml:ns:yang:ietf-datastores">ds:running</name><schema>complete</schema></datastore><datastore><name xmlns:ds="urn:ietf:params:xml:ns:yang:ietf-datastores">ds:candidate</name><schema>complete</schema></datastore><datastore><name xmlns:ds="urn:ietf:params:xml:ns:yang:ietf-datastores">ds:startup</name><schema>complete</schema>

[INF]: LN: Session 1: sending message:

#1018


[INF]: LN: Session 1: sending message:
</datastore><datastore><name xmlns:ds="urn:ietf:params:xml:ns:yang:ietf-datastores">ds:operational</name><schema>complete</schema></datastore></yang-library><modules-state xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-library"><module><name>ietf-yang-metadata</name><revision>2016-08-05</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-yang-metadata</namespace><conformance-type>implement</conformance-type></module><module><name>yang</name><revision>2017-02-20</revision><namespace>urn:ietf:params:xml:ns:yang:1</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-inet-types</name><revision>2013-07-15</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-inet-types</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-yang-types</name><revision>2013-07-15</revision><namespace>urn:ietf:params:xml:ns:yang:ietf-yang-types</namespace><conformance-type>implement</conformance-type></module><module><name>sysrepo</name><revision>2020-01-15</revision>

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<namespace>http://www.sysrepo.org/yang/sysrepo</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-datastores</name><revision>2018-02-14</revision><schema>file:///etc/sysrepo/yang/ietf-datastores@2018-02-14.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-datastores</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-yang-library</name><revision>2019-01-04</revision><schema>file:///etc/sysrepo/yang/ietf-yang-library@2019-01-04.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-yang-library</namespace><conformance-type>implement</conformance-type></module><module><name>sysrepo-monitoring</name><revision>2020-04-17</revision><schema>file:///etc/sysrepo/yang/sysrepo-monitoring@2020-04-17.yang</schema><namespace>http://www.sysrepo.org/yang/sysrepo-monitoring</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-netconf-acm</name><revision>2018-02-14</revision><schema>file:///etc/sysrepo/yang/ietf-netconf

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
-acm@2018-02-14.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-acm</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-netconf</name><revision>2013-09-29</revision><schema>file:///etc/sysrepo/yang/ietf-netconf@2013-09-29.yang</schema><namespace>urn:ietf:params:xml:ns:netconf:base:1.0</namespace><feature>writable-running</feature><feature>candidate</feature><feature>rollback-on-error</feature><feature>validate</feature><feature>startup</feature><feature>url</feature><feature>xpath</feature><conformance-type>implement</conformance-type></module><module><name>ietf-netconf-with-defaults</name><revision>2011-06-01</revision><schema>file:///etc/sysrepo/yang/ietf-netconf-with-defaults@2011-06-01.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-netconf-notifications</name><revision>2012-02-06</revision><schema>file:///etc/sysrepo/yang/ietf-netconf-notifi

[INF]: LN: Session 1: sending message:

#1022


[INF]: LN: Session 1: sending message:
cations@2012-02-06.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-notifications</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-origin</name><revision>2018-02-14</revision><schema>file:///etc/sysrepo/yang/ietf-origin@2018-02-14.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-origin</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-netconf-monitoring</name><revision>2010-10-04</revision><schema>file:///etc/sysrepo/yang/ietf-netconf-monitoring@2010-10-04.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-netconf-nmda</name><revision>2019-01-07</revision><schema>file:///etc/sysrepo/yang/ietf-netconf-nmda@2019-01-07.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-netconf-nmda</namespace><feature>origin</feature><feature>with-defaults</feature><conformance-type>implement</conformance-type></module>

[INF]: LN: Session 1: sending message:

#1017


[INF]: LN: Session 1: sending message:
<module><name>notifications</name><revision>2008-07-14</revision><schema>file:///etc/sysrepo/yang/notifications@2008-07-14.yang</schema><namespace>urn:ietf:params:xml:ns:netconf:notification:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>nc-notifications</name><revision>2008-07-14</revision><schema>file:///etc/sysrepo/yang/nc-notifications@2008-07-14.yang</schema><namespace>urn:ietf:params:xml:ns:netmod:notification</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-x509-cert-to-name</name><revision>2014-12-10</revision><schema>file:///etc/sysrepo/yang/ietf-x509-cert-to-name@2014-12-10.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-crypto-types</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-crypto-types@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-crypto-types</namespace>

[INF]: LN: Session 1: sending message:

#1019


[INF]: LN: Session 1: sending message:
<conformance-type>implement</conformance-type></module><module><name>ietf-keystore</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-keystore@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-keystore</namespace><feature>keystore-supported</feature><conformance-type>implement</conformance-type></module><module><name>ietf-truststore</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-truststore@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-truststore</namespace><feature>truststore-supported</feature><feature>x509-certificates</feature><conformance-type>implement</conformance-type></module><module><name>ietf-tcp-common</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-tcp-common@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-tcp-common</namespace><feature>keepalives-supported</feature><conformance-type>implement</conformance-type></module><module><name>ietf-ssh-common</name>

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-ssh-common@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-ssh-common</namespace><conformance-type>implement</conformance-type></module><module><name>iana-crypt-hash</name><revision>2014-08-06</revision><schema>file:///etc/sysrepo/yang/iana-crypt-hash@2014-08-06.yang</schema><namespace>urn:ietf:params:xml:ns:yang:iana-crypt-hash</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-ssh-server</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-ssh-server@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-ssh-server</namespace><feature>local-client-auth-supported</feature><conformance-type>implement</conformance-type></module><module><name>ietf-tls-common</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-tls-common@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-tls-common</namespace><conformance-type>impleme

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nt</conformance-type></module><module><name>ietf-tls-server</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-tls-server@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-tls-server</namespace><feature>local-client-auth-supported</feature><conformance-type>implement</conformance-type></module><module><name>ietf-tcp-client</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-tcp-client@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-tcp-client</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-tcp-server</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-tcp-server@2019-07-02.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-tcp-server</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-netconf-server</name><revision>2019-07-02</revision><schema>file:///etc/sysrepo/yang/ietf-netconf-server@2019-07-02.yang</schema><namespace>urn:ie

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tf:params:xml:ns:yang:ietf-netconf-server</namespace><feature>ssh-listen</feature><feature>tls-listen</feature><feature>ssh-call-home</feature><feature>tls-call-home</feature><conformance-type>implement</conformance-type></module><module><name>iana-hardware</name><revision>2018-03-13</revision><schema>file:///etc/sysrepo/yang/iana-hardware@2018-03-13.yang</schema><namespace>urn:ietf:params:xml:ns:yang:iana-hardware</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-interfaces</name><revision>2018-02-20</revision><schema>file:///etc/sysrepo/yang/ietf-interfaces@2018-02-20.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-interfaces</namespace><conformance-type>implement</conformance-type></module><module><name>iana-if-type</name><revision>2017-01-19</revision><schema>file:///etc/sysrepo/yang/iana-if-type@2017-01-19.yang</schema><namespace>urn:ietf:params:xml:ns:yang:iana-if-type</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-dhcpv6-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
types</name><revision>2018-01-30</revision><schema>file:///etc/sysrepo/yang/ietf-dhcpv6-types@2018-01-30.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-dhcpv6-types</namespace><conformance-type>implement</conformance-type></module><module><name>ietf-hardware</name><revision>2018-03-13</revision><schema>file:///etc/sysrepo/yang/ietf-hardware@2018-03-13.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-hardware</namespace><feature>hardware-state</feature><feature>hardware-sensor</feature><conformance-type>implement</conformance-type></module><module><name>ietf-ip</name><revision>2018-02-22</revision><schema>file:///etc/sysrepo/yang/ietf-ip@2018-02-22.yang</schema><namespace>urn:ietf:params:xml:ns:yang:ietf-ip</namespace><feature>ipv4-non-contiguous-netmasks</feature><conformance-type>implement</conformance-type></module><module><name>o-ran-compression-factors</name><revision>2020-03-05</revision><schema>file:///etc/sysrepo/yang/o-ran-compression-factors@2020-03-05.yang</schema><namespace>urn:o-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ran:compression-factors:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-delay-management</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-delay-management@2019-07-03.yang</schema><namespace>urn:o-ran:delay:1.0</namespace><feature>ADAPTIVE-RU-PROFILE</feature><conformance-type>implement</conformance-type></module><module><name>o-ran-dhcp</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-dhcp@2019-07-03.yang</schema><namespace>urn:o-ran:dhcp:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-file-management</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-file-management@2019-07-03.yang</schema><namespace>urn:o-ran:file-management:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-interfaces</name><revision>2020-04-17</revision><schema>file:///etc/sysrepo/yang/o-ran-interfaces@2020-04-17.yang</schema><namespace>urn

[INF]: LN: Session 1: sending message:

#1020


[INF]: LN: Session 1: sending message:
:o-ran:interfaces:1.0</namespace><feature>ALIASMAC-BASED-CU-PLANE</feature><conformance-type>implement</conformance-type></module><module><name>o-ran-if-type</name><revision>2020-08-18</revision><schema>file:///etc/sysrepo/yang/o-ran-if-type@2020-08-18.yang</schema><namespace>urn:o-ran:o-ran-if-type:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-interfaces-cpri</name><revision>2020-04-03</revision><schema>file:///etc/sysrepo/yang/o-ran-interfaces-cpri@2020-04-03.yang</schema><namespace>urn:o-ran:interfaces-cpri:1.0</namespace><feature>CPRI-INTERFACE</feature><conformance-type>implement</conformance-type></module><module><name>o-ran-module-cap</name><revision>2020-04-17</revision><schema>file:///etc/sysrepo/yang/o-ran-module-cap@2020-04-17.yang</schema><namespace>urn:o-ran:module-cap:1.0</namespace><feature>EAXC-ID-GROUP-SUPPORTED</feature><feature>TRANSPORT-FRAGMENTATION</feature><feature>DSS_LTE_NR</feature><conformance-type>implement</conformance-type></module>

[INF]: LN: Session 1: sending message:

#1007


[INF]: LN: Session 1: sending message:
<module><name>o-ran-mplane-int</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-mplane-int@2019-07-03.yang</schema><namespace>urn:o-ran:mplane-interfaces:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-operations</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-operations@2019-07-03.yang</schema><namespace>urn:o-ran:operations:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-hardware</name><revision>2020-02-19</revision><schema>file:///etc/sysrepo/yang/o-ran-hardware@2020-02-19.yang</schema><namespace>urn:o-ran:hardware:1.0</namespace><feature>ENERGYSAVING</feature><conformance-type>implement</conformance-type></module><module><name>o-ran-software-management</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-software-management@2019-07-03.yang</schema><namespace>urn:o-ran:software-management:1.0</namespace><conformance-type>implement

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
</conformance-type></module><module><name>o-ran-supervision</name><revision>2020-01-24</revision><schema>file:///etc/sysrepo/yang/o-ran-supervision@2020-01-24.yang</schema><namespace>urn:o-ran:supervision:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-sync</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-sync@2019-07-03.yang</schema><namespace>urn:o-ran:sync:1.0</namespace><feature>GNSS</feature><feature>ANTI-JAM</feature><conformance-type>implement</conformance-type></module><module><name>o-ran-system-time</name><revision>2020-07-01</revision><schema>file:///etc/sysrepo/yang/o-ran-system-time@2020-07-01.yang</schema><namespace>urn:o-ran:o-ran-system-time:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-trace</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-trace@2019-07-03.yang</schema><namespace>urn:o-ran:trace:1.0</namespace><conformance-type>implement</conformance-type>

[INF]: LN: Session 1: sending message:

#1021


[INF]: LN: Session 1: sending message:
</module><module><name>o-ran-transceiver</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-transceiver@2019-07-03.yang</schema><namespace>urn:o-ran:transceiver:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-troubleshooting</name><revision>2019-02-04</revision><schema>file:///etc/sysrepo/yang/o-ran-troubleshooting@2019-02-04.yang</schema><namespace>urn:o-ran:troubleshooting:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-processing-element</name><revision>2020-04-18</revision><schema>file:///etc/sysrepo/yang/o-ran-processing-element@2020-04-18.yang</schema><namespace>urn:o-ran:processing-element:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-uplane-conf</name><revision>2020-04-17</revision><schema>file:///etc/sysrepo/yang/o-ran-uplane-conf@2020-04-17.yang</schema><namespace>urn:o-ran:uplane-conf:1.0</namespace><conformance-type>implement</conformance-type>

[INF]: LN: Session 1: sending message:

#1023


[INF]: LN: Session 1: sending message:
</module><module><name>om-offline-data-management</name><revision>2020-03-06</revision><schema>file:///etc/sysrepo/yang/om-offline-data-management@2020-03-06.yang</schema><namespace>nts:om:offline:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>telnet-on-netconf</name><revision>2020-05-22</revision><schema>file:///etc/sysrepo/yang/telnet-on-netconf@2020-05-22.yang</schema><namespace>urn:nts:telnet-on-netconf:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-usermgmt</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-usermgmt@2019-07-03.yang</schema><namespace>urn:o-ran:user-mgmt:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-delay-management-ru-cpri</name><revision>2020-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-delay-management-ru-cpri@2020-07-03.yang</schema><namespace>urn:o-ran:delay-ru-cpri:1.0</namespace><conformance-type>implement</conformance-type>

[INF]: LN: Session 1: sending message:

#1017


[INF]: LN: Session 1: sending message:
</module><module><name>o-ran-fm</name><revision>2019-02-04</revision><schema>file:///etc/sysrepo/yang/o-ran-fm@2019-02-04.yang</schema><namespace>urn:o-ran:fm:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-sync-cpri</name><revision>2020-07-07</revision><schema>file:///etc/sysrepo/yang/o-ran-sync-cpri@2020-07-07.yang</schema><namespace>urn:o-ran:sync-cpri:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-lbm</name><revision>2019-02-04</revision><schema>file:///etc/sysrepo/yang/o-ran-lbm@2019-02-04.yang</schema><namespace>urn:o-ran:lbm:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-ald-port</name><revision>2019-07-03</revision><schema>file:///etc/sysrepo/yang/o-ran-ald-port@2019-07-03.yang</schema><namespace>urn:o-ran:ald-port:1.0</namespace><feature>OVERCURRENT-SUPPORTED</feature><conformance-type>implement</conformance-type></module><module><name>o-ran-uplane-conf-option8</name>

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<revision>2020-03-08</revision><schema>file:///etc/sysrepo/yang/o-ran-uplane-conf-option8@2020-03-08.yang</schema><namespace>urn:o-ran:uplane-conf-option8:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>vendor-specific-energy-saving</name><revision>2021-04-09</revision><schema>file:///etc/sysrepo/yang/vendor-specific-energy-saving.yang</schema><namespace>urn:vs:energy-saving:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-processing-element-cpri</name><revision>2020-05-19</revision><schema>file:///etc/sysrepo/yang/o-ran-processing-element-cpri@2020-05-19.yang</schema><namespace>urn:o-ran:processing-element-cpri:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-ecpri-delay</name><revision>2019-02-04</revision><schema>file:///etc/sysrepo/yang/o-ran-ecpri-delay@2019-02-04.yang</schema><namespace>urn:o-ran:message5:1.0</namespace><conformance-type>implement</conformance-type></module><module><name

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
>nts-nr-tdd-frame</name><revision>2022-03-17</revision><schema>file:///etc/sysrepo/yang/nts-nr-tdd-frame@2022-03-17.yang</schema><namespace>urn:nts:yang:nr-tdd-frame</namespace><conformance-type>implement</conformance-type></module><module><name>flexoran-rru-eu-topo</name><revision>2020-07-30</revision><schema>file:///etc/sysrepo/yang/flexoran-rru-eu-topo@2020-07-30.yang</schema><namespace>http://certusnet.com.cn/oam/o-ran-topo</namespace><conformance-type>implement</conformance-type></module><module><name>nts-delay-ru-cpri-extension</name><revision>2023-02-22</revision><schema>file:///etc/sysrepo/yang/nts-delay-ru-cpri-extension@2023-02-22.yang</schema><namespace>urn:nts:yang:delay-ru-cpri-extension:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>o-ran-performance-management</name><revision>2023-03-13</revision><schema>file:///etc/sysrepo/yang/o-ran-performance-management@2023-03-13.yang</schema><namespace>urn:o-ran:performance-management:1.0</namespace><conformance-type>i

[INF]: LN: Session 1: sending message:

#688


[INF]: LN: Session 1: sending message:
mplement</conformance-type></module><module><name>nts-oran-extern-interface</name><revision>2023-03-09</revision><schema>file:///etc/sysrepo/yang/nts-oran-extern-interface@2023-03-09.yang</schema><namespace>urn:nts:nts-oran-extern-interface:1.0</namespace><conformance-type>implement</conformance-type></module><module><name>nts-performance-management-extension</name><revision>2023-04-14</revision><schema>file:///etc/sysrepo/yang/nts-performance-management-extension@2023-04-14.yang</schema><namespace>urn:nts:yang:nts-performance-management-extension</namespace><conformance-type>implement</conformance-type></module><module-set-id>75</module-set-id></modules-state></data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="7"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>sysrepo</identifier><version>2020-01-15</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "sysrepo" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="7"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module sysrepo {
  yang-version 1.1;
  namespace "http://www.sysrepo.org/yang/sysrepo";
  prefix sr;

  import ietf-yang-types {
    prefix yang;
  }

  import ietf-yang-metadata {
    prefix md;
    revision-date 2016-08-05;
  }

  organization
    "CESNET";
  contact
    "Author: Michal Vasko
             &lt;mvasko@cesnet.cz&gt;";
  description
    "Sysrepo YANG datastore internal attributes and information.";

  revision 2020-01-15 {
    description
      "Added a new purge operation.";
  }
  revision 2019-11-26 {
    description
      "startup-data renamed to data; it is used for running datastore as well.";
  }
  revision 2019-10-25 {
    description
      "Added attributes for storing operational data owners.";
  }
  revision 2019-09-25 {
    description
      "Added initial startup data for newly installed modules.";
  }
  revision 2019-09-17 {
    description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   "Added list of scheduled installed modules.";
  }
  revision 2019-07-10 {
    description
      "Initial revision.";
  }

  md:annotation "orig-key" {
    type string;
    description
      "List keys that were originally preceding the list node instance in the configuration.";
  }
  md:annotation "orig-value" {
    type string;
    description
      "Leaf-list value that was originally prceding the leaf-list node instance in the configuration.";
  }
  md:annotation "orig-dflt" {
    type empty;
    description
      "Present if the node was originally a default node.";
  }
  md:annotation "pid" {
    type uint32;
    description
      "Process with this PID is the owner of the operational data subtree.";
  }
  md:annotation "conn-ptr" {
    type uint64;
    description
      "Connection with this address is the owner of the operational data subtree.";
  }

  typedef module-ref {
    type leafref {
      path "/sysrepo-modules/module/name";
    }
    description
      "Reference to a module.";
  }

  group

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ing module-info-grp {
    leaf name {
      type string;
      description
        "Module name.";
    }

    leaf revision {
      type string;
      description
        "Module revision.";
    }

    leaf-list enabled-feature {
      type string;
      description
        "List of all the enabled features.";
    }
  }

  grouping deps-grp {
    leaf-list module {
      type module-ref;
      description
        "Module that is being dependent on.";
    }

    list inst-id {
      key "xpath";
      leaf xpath {
        type yang:xpath1.0;
        description
          "XPath identifying the node with the dependency.";
      }

      leaf default-module {
        type module-ref;
        description
          "Module dependency in case the default value is being used.";
      }
    }
  }

  container sysrepo-modules {
    config false;
    description
      "All installed Sysrepo modules.";
    list module {
      key "name";
      description
        "Sysrepo module.";
      uses module-info-grp;

      lea

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
f replay-support {
        type uint64;
        description
          "Present only if the module supports replay. Means the earliest stored notification if any present.
           Otherwise the time the replay support was switched on.";
      }

      choice changed-module {
        description
          "This module is scheduled for a change.";
        leaf removed {
          type empty;
          description
            "Module was removed.";
        }

        leaf updated-yang {
          type string;
          description
            "Module was updated with a newer revision. Content is the whole new YANG module.";
        }

        case feature-changes {
          list changed-feature {
            key "name";
            description
              "Module features are scheduled for a change.";
            leaf name {
              type string;
              description
                "Changed feature name.";
            }

            leaf change {
              type enumeration {
                en

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
um "enable" {
                  description
                    "Feature will be enabled.";
                }
                enum "disable" {
                  description
                    "Feature will be disabled.";
                }
              }
              mandatory true;
              description
                "Feature change nature.";
            }
          }
        }
      }

      container data-deps {
        description
          "Module data dependencies on other modules.";
        uses deps-grp;
      }

      list op-deps {
        key "xpath";
        description
          "Module operation (RPCs, Actions, Notifications) dependencies on other modules.";
        leaf xpath {
          type yang:xpath1.0;
          description
            "XPath identifying the operation.";
        }

        container in {
          description
            "Operation input or notification dependencies.";
          uses deps-grp;
        }

        container out {
          description
            "Op

[INF]: LN: Session 1: sending message:

#710


[INF]: LN: Session 1: sending message:
eration output dependencies.";
          uses deps-grp;
        }
      }

      leaf-list inverse-data-deps {
        type module-ref;
        description
          "List of modules that depend on this module.";
      }
    }

    list installed-module {
      key "name";
      description
        "Sysrepo module scheduled to be installed.";
      uses module-info-grp;

      leaf module-yang {
        type string;
        mandatory true;
        description
          "Content is the whole new YANG module.";
      }

      leaf data {
        type string;
        description
          "Initial startup and running data to be set for the module, in JSON format.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="8"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>sysrepo-monitoring</identifier><version>2020-04-17</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "sysrepo-monitoring" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="8"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module sysrepo-monitoring {
  yang-version 1.1;
  namespace "http://www.sysrepo.org/yang/sysrepo-monitoring";
  prefix srm;

  import ietf-yang-types {
    prefix yang;
  }

  import ietf-datastores {
    prefix ds;
  }

  organization
    "CESNET";
  contact
    "Author: Michal Vasko
             &lt;mvasko@cesnet.cz&gt;";
  description
    "Sysrepo YANG datastore monitoring state information.";

  revision 2020-04-17 {
    description
      "Initial revision.";
  }

  typedef lock-mode {
    type enumeration {
      enum "read" {
        description
          "Read lock.";
      }
      enum "write" {
        description
          "Write lock.";
      }
    }
    description
      "Mode of lock held.";
  }

  typedef module-ref {
    type leafref {
      path "/sysrepo-state/module/name";
    }
    description
      "Module reference.";
  }

  typedef conn-ref {
    typ

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e leafref {
      path "/sysrepo-state/connection/pid";
    }
    description
      "Connection reference.";
  }

  container sysrepo-state {
    config false;
    description
      "Information about Sysrepo state stored in the shared memory.";
    list module {
      key "name";
      description
        "Sysrepo module.";
      leaf name {
        type string;
        description
          "Module name.";
      }

      container subscriptions {
        description
          "Module subscriptions.";
        list change-sub {
          description
            "Data change subscription.";
          leaf datastore {
            type identityref {
              base ds:datastore;
            }
            mandatory true;
            description
              "Datastore, whose data changes were subscribed for.";
          }

          leaf xpath {
            type yang:xpath1.0;
            description
              "XPath filtering the data subscribed for.";
          }

          leaf priority {
            t

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ype uint32;
            mandatory true;
            description
              "Subscription priority.";
          }

          leaf pid {
            type conn-ref;
            mandatory true;
            description
              "PID of the connection that this subscription belongs to.";
          }
        }

        list operational-sub {
          key "xpath";
          description
            "Operational subscription.";
          leaf xpath {
            type yang:xpath1.0;
            description
              "Operational data pull subscription XPath.";
          }

          leaf pid {
            type conn-ref;
            mandatory true;
            description
              "PID of the connection that this subscription belongs to.";
          }
        }

        leaf-list notification-sub {
          type conn-ref;
          description
            "PID of the connection that this subscription belongs to.";
        }
      }
    }

    list rpc {
      key "path";
      description
        "RPC/

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
action of a Sysrepo module.";
      leaf path {
        type yang:xpath1.0;
        description
          "Path identifying an RPC or action.";
      }

      list rpc-sub {
        leaf xpath {
          type yang:xpath1.0;
          mandatory true;
          description
            "XPath filtering the RPCs/actions subscribed for.";
        }

        leaf priority {
          type uint32;
          mandatory true;
          description
            "Subscription priority.";
        }

        leaf pid {
          type conn-ref;
          mandatory true;
          description
            "PID of the connection that this subscription belongs to.";
        }
      }
    }

    list connection {
      key "pid";
      description
        "Created Sysrepo connection.";
      leaf pid {
        type uint32;
        description
          "PID of the process that created this connection.";
      }

      leaf main-lock {
        type lock-mode;
        description
          "Held main lock mode.";
      }

      li

[INF]: LN: Session 1: sending message:

#600


[INF]: LN: Session 1: sending message:
st module-lock {
        key "name datastore";
        description
          "Held module data lock.";
        leaf name {
          type module-ref;
          description
            "Name of the locked module of the data.";
        }

        leaf datastore {
          type identityref {
            base ds:datastore;
          }
          description
            "Datastore of the locked module data.";
        }

        leaf lock {
          type lock-mode;
          mandatory true;
          description
            "Module data lock mode.";
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="9"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-netconf-with-defaults</identifier><version>2011-06-01</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-netconf-with-defaults" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="9"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-netconf-with-defaults {
  namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults";
  prefix ncwd;

  import ietf-netconf {
    prefix nc;
  }

  organization
    "IETF NETCONF (Network Configuration Protocol) Working Group";
  contact
    "WG Web:   &lt;http://tools.ietf.org/wg/netconf/&gt;

     WG List:  &lt;netconf@ietf.org&gt;

     WG Chair: Bert Wijnen
               &lt;bertietf@bwijnen.net&gt;

     WG Chair: Mehmet Ersue
               &lt;mehmet.ersue@nsn.com&gt;

     Editor: Andy Bierman
             &lt;andy.bierman@brocade.com&gt;

     Editor: Balazs Lengyel
             &lt;balazs.lengyel@ericsson.com&gt;";
  description
    "This module defines an extension to the NETCONF protocol
     that allows the NETCONF client to control how default
     values are handled by the server in particular NETCONF
     operations.

     Copyright (c

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
) 2011 IETF Trust and the persons identified as
     the document authors.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 6243; see
     the RFC itself for full legal notices.";

  revision 2011-06-01 {
    description
      "Initial version.";
    reference
      "RFC 6243: With-defaults Capability for NETCONF";
  }

  typedef with-defaults-mode {
    type enumeration {
      enum "report-all" {
        description
          "All default data is reported.";
        reference
          "RFC 6243; Section 3.1";
      }
      enum "report-all-tagged" {
        description
          "All default data is reported.
           Any nodes considered to b

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e default data
           will contain a 'default' XML attribute,
           set to 'true' or '1'.";
        reference
          "RFC 6243; Section 3.4";
      }
      enum "trim" {
        description
          "Values are not reported if they contain the default.";
        reference
          "RFC 6243; Section 3.2";
      }
      enum "explicit" {
        description
          "Report values that contain the definition of
           explicitly set data.";
        reference
          "RFC 6243; Section 3.3";
      }
    }
    description
      "Possible modes to report default data.";
    reference
      "RFC 6243; Section 3.";
  }

  grouping with-defaults-parameters {
    description
      "Contains the &lt;with-defaults&gt; parameter for control
       of defaults in NETCONF retrieval operations.";
    leaf with-defaults {
      type with-defaults-mode;
      description
        "The explicit defaults processing mode requested.";
      reference
        "RFC 6243; Section 4.5.1";
    }
  }

  augment "/n

[INF]: LN: Session 1: sending message:

#763


[INF]: LN: Session 1: sending message:
c:get-config/nc:input" {
    description
      "Adds the &lt;with-defaults&gt; parameter to the
       input of the NETCONF &lt;get-config&gt; operation.";
    reference
      "RFC 6243; Section 4.5.1";
    uses with-defaults-parameters;
  }

  augment "/nc:get/nc:input" {
    description
      "Adds the &lt;with-defaults&gt; parameter to
       the input of the NETCONF &lt;get&gt; operation.";
    reference
      "RFC 6243; Section 4.5.1";
    uses with-defaults-parameters;
  }

  augment "/nc:copy-config/nc:input" {
    description
      "Adds the &lt;with-defaults&gt; parameter to
       the input of the NETCONF &lt;copy-config&gt; operation.";
    reference
      "RFC 6243; Section 4.5.1";
    uses with-defaults-parameters;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="10"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-netconf</identifier><version>2013-09-29</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-netconf" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="10"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-netconf {
  namespace "urn:ietf:params:xml:ns:netconf:base:1.0";
  prefix nc;

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-netconf-acm {
    prefix nacm;
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://tools.ietf.org/wg/netconf/&gt;
     WG List:  &lt;netconf@ietf.org&gt;

     WG Chair: Bert Wijnen
               &lt;bertietf@bwijnen.net&gt;

     WG Chair: Mehmet Ersue
               &lt;mehmet.ersue@nsn.com&gt;

     Editor:   Martin Bjorklund
               &lt;mbj@tail-f.com&gt;

     Editor:   Juergen Schoenwaelder
               &lt;j.schoenwaelder@jacobs-university.de&gt;

     Editor:   Andy Bierman
               &lt;andy.bierman@brocade.com&gt;";
  description
    "NETCONF Protocol Data Types and Protocol Operations.

     Copyright (c) 2011 IETF Trust and the pers

[INF]: LN: Session 1: sending message:

#1022


[INF]: LN: Session 1: sending message:
ons identified as
     the document authors.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 6241; see
     the RFC itself for full legal notices.";

  revision 2013-09-29 {
    description
      "Updated to include NACM attributes";
    reference
      "RFC 6536: sec 3.2.5 and 3.2.8";
  }
  revision 2011-06-01 {
    description
      "Initial revision";
    reference
      "RFC 6241: Network Configuration Protocol";
  }

  extension get-filter-element-attributes {
    description
      "If this extension is present within an 'anyxml'
       statement named 'filter', which must be conceptually
       defined within the RPC input section for the

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
&lt;get&gt;
       and &lt;get-config&gt; protocol operations, then the
       following unqualified XML attribute is supported
       within the &lt;filter&gt; element, within a &lt;get&gt; or
       &lt;get-config&gt; protocol operation:

         type : optional attribute with allowed
                value strings 'subtree' and 'xpath'.
                If missing, the default value is 'subtree'.

       If the 'xpath' feature is supported, then the
       following unqualified XML attribute is
       also supported:

         select: optional attribute containing a
                 string representing an XPath expression.
                 The 'type' attribute must be equal to 'xpath'
                 if this attribute is present.";
  }


  feature writable-running {
    description
      "NETCONF :writable-running capability;
       If the server advertises the :writable-running
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
must not be enabled.";
    reference
      "RFC 6241, Section 8.2";
  }

  feature candidate {
    description
      "NETCONF :candidate capability;
       If the server advertises the :candidate
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.3";
  }

  feature confirmed-commit {
    if-feature "candidate";
    description
      "NETCONF :confirmed-commit:1.1 capability;
       If the server advertises the :confirmed-commit:1.1
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.4";
  }

  feature rollback-on-error {
    description
      "NETCONF :rollback-on-error capability;
       If the server advertises the :rollback-on-error
       capability for a session, then this feature must
       also be enabled for that session.

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.5";
  }

  feature validate {
    description
      "NETCONF :validate:1.1 capability;
       If the server advertises the :validate:1.1
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.6";
  }

  feature startup {
    description
      "NETCONF :startup capability;
       If the server advertises the :startup
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.7";
  }

  feature url {
    description
      "NETCONF :url capability;
       If the server advertises the :url
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

      "RFC 6241, Section 8.8";
  }

  feature xpath {
    description
      "NETCONF :xpath capability;
       If the server advertises the :xpath
       capability for a session, then this feature must
       also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6241, Section 8.9";
  }

  typedef session-id-type {
    type uint32 {
      range "1..max";
    }
    description
      "NETCONF Session Id";
  }

  typedef session-id-or-zero-type {
    type uint32;
    description
      "NETCONF Session Id or Zero to indicate none";
  }

  typedef error-tag-type {
    type enumeration {
      enum "in-use" {
        description
          "The request requires a resource that
           already is in use.";
      }
      enum "invalid-value" {
        description
          "The request specifies an unacceptable value for one
           or more parameters.";
      }
      enum "too-big" {
        description
          "The request or response (that would b

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e generated) is
           too large for the implementation to handle.";
      }
      enum "missing-attribute" {
        description
          "An expected attribute is missing.";
      }
      enum "bad-attribute" {
        description
          "An attribute value is not correct; e.g., wrong type,
           out of range, pattern mismatch.";
      }
      enum "unknown-attribute" {
        description
          "An unexpected attribute is present.";
      }
      enum "missing-element" {
        description
          "An expected element is missing.";
      }
      enum "bad-element" {
        description
          "An element value is not correct; e.g., wrong type,
           out of range, pattern mismatch.";
      }
      enum "unknown-element" {
        description
          "An unexpected element is present.";
      }
      enum "unknown-namespace" {
        description
          "An unexpected namespace is present.";
      }
      enum "access-denied" {
        description
          "Access to the req

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
uested protocol operation or
           data model is denied because authorization failed.";
      }
      enum "lock-denied" {
        description
          "Access to the requested lock is denied because the
           lock is currently held by another entity.";
      }
      enum "resource-denied" {
        description
          "Request could not be completed because of
           insufficient resources.";
      }
      enum "rollback-failed" {
        description
          "Request to roll back some configuration change (via
           rollback-on-error or &lt;discard-changes&gt; operations)
           was not completed for some reason.";
      }
      enum "data-exists" {
        description
          "Request could not be completed because the relevant
           data model content already exists.  For example,
           a 'create' operation was attempted on data that
           already exists.";
      }
      enum "data-missing" {
        description
          "Request could not be completed because

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
the relevant
           data model content does not exist.  For example,
           a 'delete' operation was attempted on
           data that does not exist.";
      }
      enum "operation-not-supported" {
        description
          "Request could not be completed because the requested
           operation is not supported by this implementation.";
      }
      enum "operation-failed" {
        description
          "Request could not be completed because the requested
           operation failed for some reason not covered by
           any other error condition.";
      }
      enum "partial-operation" {
        description
          "This error-tag is obsolete, and SHOULD NOT be sent
           by servers conforming to this document.";
      }
      enum "malformed-message" {
        description
          "A message could not be handled because it failed to
           be parsed correctly.  For example, the message is not
           well-formed XML or it uses an invalid character set.";
      }
    }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    description
      "NETCONF Error Tag";
    reference
      "RFC 6241, Appendix A";
  }

  typedef error-severity-type {
    type enumeration {
      enum "error" {
        description
          "Error severity";
      }
      enum "warning" {
        description
          "Warning severity";
      }
    }
    description
      "NETCONF Error Severity";
    reference
      "RFC 6241, Section 4.3";
  }

  typedef edit-operation-type {
    type enumeration {
      enum "merge" {
        description
          "The configuration data identified by the
           element containing this attribute is merged
           with the configuration at the corresponding
           level in the configuration datastore identified
           by the target parameter.";
      }
      enum "replace" {
        description
          "The configuration data identified by the element
           containing this attribute replaces any related
           configuration in the configuration datastore
           identified by the target

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 parameter.  If no such
           configuration data exists in the configuration
           datastore, it is created.  Unlike a
           &lt;copy-config&gt; operation, which replaces the
           entire target configuration, only the configuration
           actually present in the config parameter is affected.";
      }
      enum "create" {
        description
          "The configuration data identified by the element
           containing this attribute is added to the
           configuration if and only if the configuration
           data does not already exist in the configuration
           datastore.  If the configuration data exists, an
           &lt;rpc-error&gt; element is returned with an
           &lt;error-tag&gt; value of 'data-exists'.";
      }
      enum "delete" {
        description
          "The configuration data identified by the element
           containing this attribute is deleted from the
           configuration if and only if the configuration
           data currently

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
exists in the configuration
           datastore.  If the configuration data does not
           exist, an &lt;rpc-error&gt; element is returned with
           an &lt;error-tag&gt; value of 'data-missing'.";
      }
      enum "remove" {
        description
          "The configuration data identified by the element
           containing this attribute is deleted from the
           configuration if the configuration
           data currently exists in the configuration
           datastore.  If the configuration data does not
           exist, the 'remove' operation is silently ignored
           by the server.";
      }
    }
    default "merge";
    description
      "NETCONF 'operation' attribute values";
    reference
      "RFC 6241, Section 7.2";
  }


  rpc get-config {
    description
      "Retrieve all or part of a specified configuration.";
    reference
      "RFC 6241, Section 7.1";
    input {
      container source {
        description
          "Particular configuration to retrieve.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   choice config-source {
          mandatory true;
          description
            "The configuration to retrieve.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config source.";
          }

          leaf running {
            type empty;
            description
              "The running configuration is the config source.";
          }

          leaf startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config source.
               This is optional-to-implement on the server because
               not all servers will support filtering for this
               datastore.";
          }
        }
      }

      anyxml filter {
        nc:get-filter-element-attributes;
        description
          "Subtree or XPath filter to use.";
      }
    }

    output {
      anyxml data {
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    "Copy of the source datastore subset that matched
           the filter criteria (if any).  An empty data container
           indicates that the request did not produce any results.";
      }
    }
  }

  rpc edit-config {
    description
      "The &lt;edit-config&gt; operation loads all or part of a specified
       configuration to the specified target configuration.";
    reference
      "RFC 6241, Section 7.2";
    input {
      container target {
        description
          "Particular configuration to edit.";
        choice config-target {
          mandatory true;
          description
            "The configuration target.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config target.";
          }

          leaf running {
            if-feature "writable-running";
            type empty;
            description
              "The running configuration is the config source.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       }
        }
      }

      leaf default-operation {
        type enumeration {
          enum "merge" {
            description
              "The default operation is merge.";
          }
          enum "replace" {
            description
              "The default operation is replace.";
          }
          enum "none" {
            description
              "There is no default operation.";
          }
        }
        default "merge";
        description
          "The default operation to use.";
      }

      leaf test-option {
        if-feature "validate";
        type enumeration {
          enum "test-then-set" {
            description
              "The server will test and then set if no errors.";
          }
          enum "set" {
            description
              "The server will set without a test first.";
          }
          enum "test-only" {
            description
              "The server will only test and not set, even
               if there are no errors.";
          }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

        }
        default "test-then-set";
        description
          "The test option to use.";
      }

      leaf error-option {
        type enumeration {
          enum "stop-on-error" {
            description
              "The server will stop on errors.";
          }
          enum "continue-on-error" {
            description
              "The server may continue on errors.";
          }
          enum "rollback-on-error" {
            description
              "The server will roll back on errors.
               This value can only be used if the 'rollback-on-error'
               feature is supported.";
          }
        }
        default "stop-on-error";
        description
          "The error option to use.";
      }

      choice edit-content {
        mandatory true;
        description
          "The content for the edit operation.";
        anyxml config {
          description
            "Inline Config content.";
        }

        leaf url {
          if-feature "url";
          t

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ype inet:uri;
          description
            "URL-based config content.";
        }
      }
    }
  }

  rpc copy-config {
    description
      "Create or replace an entire configuration datastore with the
       contents of another complete configuration datastore.";
    reference
      "RFC 6241, Section 7.3";
    input {
      container target {
        description
          "Particular configuration to copy to.";
        choice config-target {
          mandatory true;
          description
            "The configuration target of the copy operation.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config target.";
          }

          leaf running {
            if-feature "writable-running";
            type empty;
            description
              "The running configuration is the config target.
               This is optional-to-implement on the server.";
          }

          le

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
af startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config target.";
          }

          leaf url {
            if-feature "url";
            type inet:uri;
            description
              "The URL-based configuration is the config target.";
          }
        }
      }

      container source {
        description
          "Particular configuration to copy from.";
        choice config-source {
          mandatory true;
          description
            "The configuration source for the copy operation.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config source.";
          }

          leaf running {
            type empty;
            description
              "The running configuration is the config source.";
          }

          leaf startup {
            if-feature "startup";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  type empty;
            description
              "The startup configuration is the config source.";
          }

          leaf url {
            if-feature "url";
            type inet:uri;
            description
              "The URL-based configuration is the config source.";
          }

          anyxml config {
            description
              "Inline Config content: &lt;config&gt; element.  Represents
               an entire configuration datastore, not
               a subset of the running datastore.";
          }
        }
      }
    }
  }

  rpc delete-config {
    nacm:default-deny-all;
    description
      "Delete a configuration datastore.";
    reference
      "RFC 6241, Section 7.4";
    input {
      container target {
        description
          "Particular configuration to delete.";
        choice config-target {
          mandatory true;
          description
            "The configuration target to delete.";
          leaf startup {
            if-feature "startup";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     type empty;
            description
              "The startup configuration is the config target.";
          }

          leaf url {
            if-feature "url";
            type inet:uri;
            description
              "The URL-based configuration is the config target.";
          }
        }
      }
    }
  }

  rpc lock {
    description
      "The lock operation allows the client to lock the configuration
       system of a device.";
    reference
      "RFC 6241, Section 7.5";
    input {
      container target {
        description
          "Particular configuration to lock.";
        choice config-target {
          mandatory true;
          description
            "The configuration target to lock.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config target.";
          }

          leaf running {
            type empty;
            description
              "The running

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 configuration is the config target.";
          }

          leaf startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config target.";
          }
        }
      }
    }
  }

  rpc unlock {
    description
      "The unlock operation is used to release a configuration lock,
       previously obtained with the 'lock' operation.";
    reference
      "RFC 6241, Section 7.6";
    input {
      container target {
        description
          "Particular configuration to unlock.";
        choice config-target {
          mandatory true;
          description
            "The configuration target to unlock.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config target.";
          }

          leaf running {
            type empty;
            description
              "The running configuration is the config tar

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
get.";
          }

          leaf startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config target.";
          }
        }
      }
    }
  }

  rpc get {
    description
      "Retrieve running configuration and device state information.";
    reference
      "RFC 6241, Section 7.7";
    input {
      anyxml filter {
        nc:get-filter-element-attributes;
        description
          "This parameter specifies the portion of the system
           configuration and state data to retrieve.";
      }
    }

    output {
      anyxml data {
        description
          "Copy of the running datastore subset and/or state
           data that matched the filter criteria (if any).
           An empty data container indicates that the request did not
           produce any results.";
      }
    }
  }

  rpc close-session {
    description
      "Request graceful termination of a NETCONF session.";
    reference
      "RFC 6

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
241, Section 7.8";
  }

  rpc kill-session {
    nacm:default-deny-all;
    description
      "Force the termination of a NETCONF session.";
    reference
      "RFC 6241, Section 7.9";
    input {
      leaf session-id {
        type session-id-type;
        mandatory true;
        description
          "Particular session to kill.";
      }
    }
  }

  rpc commit {
    if-feature "candidate";
    description
      "Commit the candidate configuration as the device's new
       current configuration.";
    reference
      "RFC 6241, Section 8.3.4.1";
    input {
      leaf confirmed {
        if-feature "confirmed-commit";
        type empty;
        description
          "Requests a confirmed commit.";
        reference
          "RFC 6241, Section 8.3.4.1";
      }

      leaf confirm-timeout {
        if-feature "confirmed-commit";
        type uint32 {
          range "1..max";
        }
        units "seconds";
        default "600";
        description
          "The timeout interval for a confirmed co

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
mmit.";
        reference
          "RFC 6241, Section 8.3.4.1";
      }

      leaf persist {
        if-feature "confirmed-commit";
        type string;
        description
          "This parameter is used to make a confirmed commit
           persistent.  A persistent confirmed commit is not aborted
           if the NETCONF session terminates.  The only way to abort
           a persistent confirmed commit is to let the timer expire,
           or to use the &lt;cancel-commit&gt; operation.

           The value of this parameter is a token that must be given
           in the 'persist-id' parameter of &lt;commit&gt; or
           &lt;cancel-commit&gt; operations in order to confirm or cancel
           the persistent confirmed commit.

           The token should be a random string.";
        reference
          "RFC 6241, Section 8.3.4.1";
      }

      leaf persist-id {
        if-feature "confirmed-commit";
        type string;
        description
          "This parameter is given in order to commi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t a persistent
           confirmed commit.  The value must be equal to the value
           given in the 'persist' parameter to the &lt;commit&gt; operation.
           If it does not match, the operation fails with an
           'invalid-value' error.";
        reference
          "RFC 6241, Section 8.3.4.1";
      }
    }
  }

  rpc discard-changes {
    if-feature "candidate";
    description
      "Revert the candidate configuration to the current
       running configuration.";
    reference
      "RFC 6241, Section 8.3.4.2";
  }

  rpc cancel-commit {
    if-feature "confirmed-commit";
    description
      "This operation is used to cancel an ongoing confirmed commit.
       If the confirmed commit is persistent, the parameter
       'persist-id' must be given, and it must match the value of the
       'persist' parameter.";
    reference
      "RFC 6241, Section 8.4.4.1";
    input {
      leaf persist-id {
        type string;
        description
          "This parameter is given in order to cancel

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 a persistent
           confirmed commit.  The value must be equal to the value
           given in the 'persist' parameter to the &lt;commit&gt; operation.
           If it does not match, the operation fails with an
           'invalid-value' error.";
      }
    }
  }

  rpc validate {
    if-feature "validate";
    description
      "Validates the contents of the specified configuration.";
    reference
      "RFC 6241, Section 8.6.4.1";
    input {
      container source {
        description
          "Particular configuration to validate.";
        choice config-source {
          mandatory true;
          description
            "The configuration source to validate.";
          leaf candidate {
            if-feature "candidate";
            type empty;
            description
              "The candidate configuration is the config source.";
          }

          leaf running {
            type empty;
            description
              "The running configuration is the config source.";


[INF]: LN: Session 1: sending message:

#663


[INF]: LN: Session 1: sending message:
  }

          leaf startup {
            if-feature "startup";
            type empty;
            description
              "The startup configuration is the config source.";
          }

          leaf url {
            if-feature "url";
            type inet:uri;
            description
              "The URL-based configuration is the config source.";
          }

          anyxml config {
            description
              "Inline Config content: &lt;config&gt; element.  Represents
               an entire configuration datastore, not
               a subset of the running datastore.";
          }
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
Parent process name matched successfully
Send signal now
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="11"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-netconf-notifications</identifier><version>2012-02-06</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-netconf-notifications" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="11"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-netconf-notifications {
  namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-notifications";
  prefix ncn;

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-netconf {
    prefix nc;
  }

  organization
    "IETF NETCONF (Network Configuration Protocol) Working Group";
  contact
    "WG Web:   &lt;http://tools.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     WG Chair: Bert Wijnen
               &lt;mailto:bertietf@bwijnen.net&gt;
     WG Chair: Mehmet Ersue
               &lt;mailto:mehmet.ersue@nsn.com&gt;
     Editor:   Andy Bierman
               &lt;mailto:andy@netconfcentral.org&gt;";
  description
    "This module defines a YANG data model for use with the
     NETCONF protocol that allows the NETCONF client to
     receive common NETCONF base event notifications.
     Copyright (c) 2012 IETF Trust and the perso

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ns identified as
     the document authors.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).
     This version of this YANG module is part of RFC 6470; see
     the RFC itself for full legal notices.";

  revision 2012-02-06 {
    description
      "Initial version.";
    reference
      "RFC 6470: NETCONF Base Notifications";
  }

  grouping common-session-parms {
    description
      "Common session parameters to identify a
       management session.";
    leaf username {
      type string;
      mandatory true;
      description
        "Name of the user for the session.";
    }

    leaf session-id {
      type nc:session-id-or-zero-type;
      mandatory true;
      description
        "Identifier

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 of the session.
         A NETCONF session MUST be identified by a non-zero value.
         A non-NETCONF session MAY be identified by the value zero.";
    }

    leaf source-host {
      type inet:ip-address;
      description
        "Address of the remote host for the session.";
    }
  }

  grouping changed-by-parms {
    description
      "Common parameters to identify the source
       of a change event, such as a configuration
       or capability change.";
    container changed-by {
      description
        "Indicates the source of the change.
         If caused by internal action, then the
         empty leaf 'server' will be present.
         If caused by a management session, then
         the name, remote host address, and session ID
         of the session that made the change will be reported.";
      choice server-or-user {
        mandatory true;
        leaf server {
          type empty;
          description
            "If present, the change was caused
             by the server.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     }

        case by-user {
          uses common-session-parms;
        }
      }
    }
  }

  notification netconf-config-change {
    description
      "Generated when the NETCONF server detects that the
       &lt;running&gt; or &lt;startup&gt; configuration datastore
       has been changed by a management session.
       The notification summarizes the edits that
       have been detected.
       The server MAY choose to also generate this
       notification while loading a datastore during the
       boot process for the device.";
    uses changed-by-parms;

    leaf datastore {
      type enumeration {
        enum "running" {
          description
            "The &lt;running&gt; datastore has changed.";
        }
        enum "startup" {
          description
            "The &lt;startup&gt; datastore has changed";
        }
      }
      default "running";
      description
        "Indicates which configuration datastore has changed.";
    }

    list edit {
      description
        "An edit

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
record SHOULD be present for each distinct
         edit operation that the server has detected on
         the target datastore.  This list MAY be omitted
         if the detailed edit operations are not known.
         The server MAY report entries in this list for
         changes not made by a NETCONF session (e.g., CLI).";
      leaf target {
        type instance-identifier;
        description
          "Topmost node associated with the configuration change.
           A server SHOULD set this object to the node within
           the datastore that is being altered.  A server MAY
           set this object to one of the ancestors of the actual
           node that was changed, or omit this object, if the
           exact node is not known.";
      }

      leaf operation {
        type nc:edit-operation-type;
        description
          "Type of edit operation performed.
           A server MUST set this object to the NETCONF edit
           operation performed on the target datastore.";
      }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
}
  }

  notification netconf-capability-change {
    description
      "Generated when the NETCONF server detects that
       the server capabilities have changed.
       Indicates which capabilities have been added, deleted,
       and/or modified.  The manner in which a server
       capability is changed is outside the scope of this
       document.";
    uses changed-by-parms;

    leaf-list added-capability {
      type inet:uri;
      description
        "List of capabilities that have just been added.";
    }

    leaf-list deleted-capability {
      type inet:uri;
      description
        "List of capabilities that have just been deleted.";
    }

    leaf-list modified-capability {
      type inet:uri;
      description
        "List of capabilities that have just been modified.
         A capability is considered to be modified if the
         base URI for the capability has not changed, but
         one or more of the parameters encoded at the end of
         the capability URI have changed.


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     The new modified value of the complete URI is returned.";
    }
  }

  notification netconf-session-start {
    description
      "Generated when a NETCONF server detects that a
       NETCONF session has started.  A server MAY generate
       this event for non-NETCONF management sessions.
       Indicates the identity of the user that started
       the session.";
    uses common-session-parms;
  }

  notification netconf-session-end {
    description
      "Generated when a NETCONF server detects that a
       NETCONF session has terminated.
       A server MAY optionally generate this event for
       non-NETCONF management sessions.  Indicates the
       identity of the user that owned the session,
       and why the session was terminated.";
    uses common-session-parms;

    leaf killed-by {
      when "../termination-reason = 'killed'";
      type nc:session-id-type;
      description
        "The ID of the session that directly caused this session
         to be abnormally terminated.  If this

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
session was abnormally
         terminated by a non-NETCONF session unknown to the server,
         then this leaf will not be present.";
    }

    leaf termination-reason {
      type enumeration {
        enum "closed" {
          description
            "The session was terminated by the client in normal
             fashion, e.g., by the NETCONF &lt;close-session&gt;
             protocol operation.";
        }
        enum "killed" {
          description
            "The session was terminated in abnormal
             fashion, e.g., by the NETCONF &lt;kill-session&gt;
             protocol operation.";
        }
        enum "dropped" {
          description
            "The session was terminated because the transport layer
             connection was unexpectedly closed.";
        }
        enum "timeout" {
          description
            "The session was terminated because of inactivity,
             e.g., waiting for the &lt;hello&gt; message or &lt;rpc&gt;
             messages.";
        }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    enum "bad-hello" {
          description
            "The client's &lt;hello&gt; message was invalid.";
        }
        enum "other" {
          description
            "The session was terminated for some other reason.";
        }
      }
      mandatory true;
      description
        "Reason the session was terminated.";
    }
  }

  notification netconf-confirmed-commit {
    description
      "Generated when a NETCONF server detects that a
       confirmed-commit event has occurred.  Indicates the event
       and the current state of the confirmed-commit procedure
       in progress.";
    reference
      "RFC 6241, Section 8.4";
    uses common-session-parms {
      when "confirm-event != 'timeout'";
    }

    leaf confirm-event {
      type enumeration {
        enum "start" {
          description
            "The confirmed-commit procedure has started.";
        }
        enum "cancel" {
          description
            "The confirmed-commit procedure has been canceled,
             e.g., du

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e to the session being terminated, or an
             explicit &lt;cancel-commit&gt; operation.";
        }
        enum "timeout" {
          description
            "The confirmed-commit procedure has been canceled
             due to the confirm-timeout interval expiring.
             The common session parameters will not be present
             in this sub-mode.";
        }
        enum "extend" {
          description
            "The confirmed-commit timeout has been extended,
             e.g., by a new &lt;confirmed-commit&gt; operation.";
        }
        enum "complete" {
          description
            "The confirmed-commit procedure has been completed.";
        }
      }
      mandatory true;
      description
        "Indicates the event that caused the notification.";
    }

    leaf timeout {
      when "../confirm-event = 'start' or ../confirm-event = 'extend'";
      type uint32;
      units "seconds";
      description
        "The configured timeout value if the event type
         is

[INF]: LN: Session 1: sending message:

#187


[INF]: LN: Session 1: sending message:
'start' or 'extend'.  This value represents
         the approximate number of seconds from the event
         time when the 'timeout' event might occur.";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-origin</identifier><version>2018-02-14</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-origin" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-origin {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-origin";
  prefix or;

  import ietf-yang-metadata {
    prefix md;
  }

  organization
    "IETF Network Modeling (NETMOD) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;

     WG List:  &lt;mailto:netmod@ietf.org&gt;

     Author:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;

     Author:   Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;

     Author:   Phil Shafer
               &lt;mailto:phil@juniper.net&gt;

     Author:   Kent Watsen
               &lt;mailto:kwatsen@juniper.net&gt;

     Author:   Rob Wilton
               &lt;rwilton@cisco.com&gt;";
  description
    "This YANG module defines an 'origin' metadata annotation and a
     set of identities for the origin value.



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject to
     the license terms contained in, the Simplified BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 8342
     (https://www.rfc-editor.org/info/rfc8342); see the RFC itself
     for full legal notices.";

  revision 2018-02-14 {
    description
      "Initial revision.";
    reference
      "RFC 8342: Network Management Datastore Architecture (NMDA)";
  }

  md:annotation "origin" {
    type origin-ref;
    description
      "The 'origin' annotation can be present on any configuration
       data node in the operational state datastore.  It specifies
       from where the node originated.  If not specified for

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a given
       configuration data node, then the origin is the same as the
       origin of its parent node in the data tree.  The origin for
       any top-level configuration data nodes must be specified.";
  }

  identity origin {
    description
      "Abstract base identity for the origin annotation.";
  }

  identity intended {
    base origin;
    description
      "Denotes configuration from the intended configuration
       datastore.";
  }

  identity dynamic {
    base origin;
    description
      "Denotes configuration from a dynamic configuration
       datastore.";
  }

  identity system {
    base origin;
    description
      "Denotes configuration originated by the system itself.

       Examples of system configuration include applied configuration
       for an always-existing loopback interface, or interface
       configuration that is auto-created due to the hardware
       currently present in the device.";
  }

  identity learned {
    base origin;
    description
      "Denotes confi

[INF]: LN: Session 1: sending message:

#942


[INF]: LN: Session 1: sending message:
guration learned from protocol interactions with
       other devices, instead of via either the intended
       configuration datastore or any dynamic configuration
       datastore.

       Examples of protocols that provide learned configuration
       include link-layer negotiations, routing protocols, and
       DHCP.";
  }

  identity default {
    base origin;
    description
      "Denotes configuration that does not have a configured or
       learned value but has a default value in use.  Covers both
       values defined in a 'default' statement and values defined
       via an explanation in a 'description' statement.";
  }

  identity unknown {
    base origin;
    description
      "Denotes configuration for which the system cannot identify the
       origin.";
  }

  typedef origin-ref {
    type identityref {
      base origin;
    }
    description
      "An origin identity reference.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="13"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-yang-metadata</identifier><version>2016-08-05</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-yang-metadata" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="13"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-yang-metadata {
  namespace "urn:ietf:params:xml:ns:yang:ietf-yang-metadata";
  prefix md;

  organization
    "IETF NETMOD (NETCONF Data Modeling Language) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;

     WG List:  &lt;mailto:netmod@ietf.org&gt;

     WG Chair: Lou Berger
               &lt;mailto:lberger@labn.net&gt;

     WG Chair: Kent Watsen
               &lt;mailto:kwatsen@juniper.net&gt;

     Editor:   Ladislav Lhotka
               &lt;mailto:lhotka@nic.cz&gt;";
  description
    "This YANG module defines an 'extension' statement that allows
     for defining metadata annotations.

     Copyright (c) 2016 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 to, and subject to
     the license terms contained in, the Simplified BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 7952
     (http://www.rfc-editor.org/info/rfc7952); see the RFC itself
     for full legal notices.";

  revision 2016-08-05 {
    description
      "Initial revision.";
    reference
      "RFC 7952: Defining and Using Metadata with YANG";
  }

  extension annotation {
    argument name;
    description
      "This extension allows for defining metadata annotations in
       YANG modules.  The 'md:annotation' statement can appear only
       at the top level of a YANG module or submodule, i.e., it
       becomes a new alternative in the ABNF production rule for
       'body-stmts' (Section 14 in RFC 7950).

       The argument of the 'md:annotation' statement defines the name
       of the annotation.  Syntactically, it is a YANG i

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
dentifier as
       defined in Section 6.2 of RFC 7950.

       An annotation defined with this 'extension' statement inherits
       the namespace and other context from the YANG module in which
       it is defined.

       The data type of the annotation value is specified in the same
       way as for a leaf data node using the 'type' statement.

       The semantics of the annotation and other documentation can be
       specified using the following standard YANG substatements (all
       are optional): 'description', 'if-feature', 'reference',
       'status', and 'units'.

       A server announces support for a particular annotation by
       including the module in which the annotation is defined among
       the advertised YANG modules, e.g., in a NETCONF &lt;hello&gt;
       message or in the YANG library (RFC 7950).  The annotation can
       then be attached to any instance of a data node defined in any
       YANG module that is advertised by the server.

       XML encoding and JSON encoding o

[INF]: LN: Session 1: sending message:

#73


[INF]: LN: Session 1: sending message:
f annotations are defined in
       RFC 7952.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="14"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-netconf-nmda</identifier><version>2019-01-07</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-netconf-nmda" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="14"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-netconf-nmda {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-nmda";
  prefix ncds;

  import ietf-yang-types {
    prefix yang;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-datastores {
    prefix ds;
    reference
      "RFC 8342: Network Management Datastore Architecture
                 (NMDA)";
  }

  import ietf-origin {
    prefix or;
    reference
      "RFC 8342: Network Management Datastore Architecture
                 (NMDA)";
  }

  import ietf-netconf {
    prefix nc;
    reference
      "RFC 6241: Network Configuration Protocol (NETCONF)";
  }

  import ietf-netconf-with-defaults {
    prefix ncwd;
    reference
      "RFC 6243: With-defaults Capability for NETCONF";
  }

  organizatio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n
    "IETF NETCONF Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netconf/&gt;

     WG List:  &lt;mailto:netconf@ietf.org&gt;

     Author:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;

     Author:   Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;

     Author:   Phil Shafer
               &lt;mailto:phil@juniper.net&gt;

     Author:   Kent Watsen
               &lt;mailto:kent+ietf@watsen.net&gt;

     Author:   Robert Wilton
               &lt;mailto:rwilton@cisco.com&gt;";
  description
    "This YANG module defines a set of NETCONF operations to support
     the Network Management Datastore Architecture (NMDA).

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
     NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
     'MAY', and 'OPTIONAL' in this document are to be interpreted as
     described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
     they appear in all capitals,

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 as shown here.

     Copyright (c) 2019 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject to
     the license terms contained in, the Simplified BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 8526; see
     the RFC itself for full legal notices.";

  revision 2019-01-07 {
    description
      "Initial revision.";
    reference
      "RFC 8526: NETCONF Extensions to Support the Network Management
                 Datastore Architecture";
  }

  feature origin {
    description
      "Indicates that the server supports the 'origin' annotation.";
    reference
      "RFC 8342: Network Management Datastore Architecture (NMDA)";
  }

  feature with-defaults {
    description
      "NET

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
CONF :with-defaults capability.  If the server advertises
       the :with-defaults capability for a session, then this
       feature must also be enabled for that session.  Otherwise,
       this feature must not be enabled.";
    reference
      "RFC 6243: With-defaults Capability for NETCONF, Section 4; and
       RFC 8526: NETCONF Extensions to Support the Network Management
                 Datastore Architecture, Section 3.1.1.2";
  }

  augment "/nc:lock/nc:input/nc:target/nc:config-target" {
    description
      "Add NMDA datastore as target.";
    leaf datastore {
      type ds:datastore-ref;
      description
        "Datastore to lock.

         The &lt;lock&gt; operation is only supported on writable
         datastores.

         If the &lt;lock&gt; operation is not supported by the server on
         the specified target datastore, then the server MUST return
         an &lt;rpc-error&gt; element with an &lt;error-tag&gt; value of
         'invalid-value'.";
    }
  }

  augment "/nc:unlock/nc

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
:input/nc:target/nc:config-target" {
    description
      "Add NMDA datastore as target.";
    leaf datastore {
      type ds:datastore-ref;
      description
        "Datastore to unlock.

         The &lt;unlock&gt; operation is only supported on writable
         datastores.

         If the &lt;unlock&gt; operation is not supported by the server on
         the specified target datastore, then the server MUST return
         an &lt;rpc-error&gt; element with an &lt;error-tag&gt; value of
         'invalid-value'.";
    }
  }

  augment "/nc:validate/nc:input/nc:source/nc:config-source" {
    description
      "Add NMDA datastore as source.";
    leaf datastore {
      type ds:datastore-ref;
      description
        "Datastore to validate.

         The &lt;validate&gt; operation is supported only on configuration
         datastores.

         If the &lt;validate&gt; operation is not supported by the server
         on the specified target datastore, then the server MUST
         return an &lt;rpc-error

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
&gt; element with an &lt;error-tag&gt; value of
         'invalid-value'.";
    }
  }

  rpc get-data {
    description
      "Retrieve data from an NMDA datastore.  The content returned
       by get-data must satisfy all filters, i.e., the filter
       criteria are logically ANDed.

       Any ancestor nodes (including list keys) of nodes selected by
       the filters are included in the response.

       The 'with-origin' parameter is only valid for an operational
       datastore.  If 'with-origin' is used with an invalid
       datastore, then the server MUST return an &lt;rpc-error&gt; element
       with an &lt;error-tag&gt; value of 'invalid-value'.

       The 'with-defaults' parameter only applies to the operational
       datastore if the NETCONF :with-defaults and
       :with-operational-defaults capabilities are both advertised.
       If the 'with-defaults' parameter is present in a request for
       which it is not supported, then the server MUST return an
       &lt;rpc-error&gt; element w

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ith an &lt;error-tag&gt; value of
       'invalid-value'.";
    input {
      leaf datastore {
        type ds:datastore-ref;
        mandatory true;
        description
          "Datastore from which to retrieve data.

           If the datastore is not supported by the server, then the
           server MUST return an &lt;rpc-error&gt; element with an
           &lt;error-tag&gt; value of 'invalid-value'.";
      }

      choice filter-spec {
        description
          "The content filter specification for this request.";
        anydata subtree-filter {
          description
            "This parameter identifies the portions of the
             target datastore to retrieve.";
          reference
            "RFC 6241: Network Configuration Protocol (NETCONF),
                       Section 6";
        }

        leaf xpath-filter {
          if-feature "nc:xpath";
          type yang:xpath1.0;
          description
            "This parameter contains an XPath expression identifying
             the p

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ortions of the target datastore to retrieve.

             If the expression returns a node-set, all nodes in the
             node-set are selected by the filter.  Otherwise, if the
             expression does not return a node-set, then the
             &lt;get-data&gt; operation fails.

             The expression is evaluated in the following XPath
             context:

               o  The set of namespace declarations are those in
                  scope on the 'xpath-filter' leaf element.

               o  The set of variable bindings is empty.

               o  The function library is the core function library,
                  and the XPath functions are defined in Section 10
                  of RFC 7950.

               o  The context node is the root node of the target
                  datastore.";
        }
      }

      leaf config-filter {
        type boolean;
        description
          "Filter for nodes with the given value for their 'config'
           property.  When this leaf is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 set to 'true', only 'config
           true' nodes are selected, and when set to 'false', only
           'config false' nodes are selected.  If this leaf is not
           present, no nodes are filtered.";
      }

      choice origin-filters {
        when "derived-from-or-self(datastore, \"ds:operational\")";
        if-feature "origin";
        description
          "Filters configuration nodes based on the 'origin'
           annotation.  Configuration nodes that do not have an
           'origin' annotation are treated as if they have the
           'origin' annotation 'or:unknown'.

           System state nodes are not affected by origin-filters and
           thus not filtered.  Note that system state nodes can be
           filtered with the 'config-filter' leaf.";
        leaf-list origin-filter {
          type or:origin-ref;
          description
            "Filter based on the 'origin' annotation.  A
             configuration node matches the filter if its 'origin'
             annotation is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
derived from or equal to any of the given
             filter values.";
        }

        leaf-list negated-origin-filter {
          type or:origin-ref;
          description
            "Filter based on the 'origin' annotation.  A
             configuration node matches the filter if its 'origin'
             annotation is neither derived from nor equal to any of
             the given filter values.";
        }
      }

      leaf max-depth {
        type union {
          type uint16 {
            range "1..65535";
          }
          type enumeration {
            enum "unbounded" {
              description
                "All descendant nodes are included.";
            }
          }
        }
        default "unbounded";
        description
          "For each node selected by the filters, this parameter
           selects how many conceptual subtree levels should be
           returned in the reply.  If the depth is 1, the reply
           includes just the selected nodes but no children.  If the

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

           depth is 'unbounded', all descendant nodes are included.";
      }

      leaf with-origin {
        when "derived-from-or-self(../datastore, \"ds:operational\")";
        if-feature "origin";
        type empty;
        description
          "If this parameter is present, the server will return
           the 'origin' annotation for the nodes that have one.";
      }

      uses ncwd:with-defaults-parameters {
        if-feature "with-defaults";
      }
    }

    output {
      anydata data {
        description
          "Copy of the source datastore subset that matched
           the filter criteria (if any).  An empty data
           container indicates that the request did not
           produce any results.";
      }
    }
  }

  rpc edit-data {
    description
      "Edit data in an NMDA datastore.

       If an error condition occurs such that an error severity
       &lt;rpc-error&gt; element is generated, the server will stop
       processing the &lt;edit-data&gt; operation and restore

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 the
       specified configuration to its complete state at
       the start of this &lt;edit-data&gt; operation.";
    input {
      leaf datastore {
        type ds:datastore-ref;
        mandatory true;
        description
          "Datastore that is the target of the &lt;edit-data&gt; operation.

           If the target datastore is not writable, or is not
           supported by the server, then the server MUST return an
           &lt;rpc-error&gt; element with an &lt;error-tag&gt; value of
           'invalid-value'.";
      }

      leaf default-operation {
        type enumeration {
          enum "merge" {
            description
              "The default operation is merge.";
          }
          enum "replace" {
            description
              "The default operation is replace.";
          }
          enum "none" {
            description
              "There is no default operation.";
          }
        }
        default "merge";
        description
          "The default operation to

[INF]: LN: Session 1: sending message:

#421


[INF]: LN: Session 1: sending message:
 use.";
      }

      choice edit-content {
        mandatory true;
        description
          "The content for the edit operation.";
        anydata config {
          description
            "Inline config content.";
        }

        leaf url {
          if-feature "nc:url";
          type inet:uri;
          description
            "URL-based config content.";
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="15"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-origin</identifier><version>2018-02-14</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-origin" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="15"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-origin {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-origin";
  prefix or;

  import ietf-yang-metadata {
    prefix md;
  }

  organization
    "IETF Network Modeling (NETMOD) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;

     WG List:  &lt;mailto:netmod@ietf.org&gt;

     Author:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;

     Author:   Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;

     Author:   Phil Shafer
               &lt;mailto:phil@juniper.net&gt;

     Author:   Kent Watsen
               &lt;mailto:kwatsen@juniper.net&gt;

     Author:   Rob Wilton
               &lt;rwilton@cisco.com&gt;";
  description
    "This YANG module defines an 'origin' metadata annotation and a
     set of identities for the origin value.



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject to
     the license terms contained in, the Simplified BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 8342
     (https://www.rfc-editor.org/info/rfc8342); see the RFC itself
     for full legal notices.";

  revision 2018-02-14 {
    description
      "Initial revision.";
    reference
      "RFC 8342: Network Management Datastore Architecture (NMDA)";
  }

  md:annotation "origin" {
    type origin-ref;
    description
      "The 'origin' annotation can be present on any configuration
       data node in the operational state datastore.  It specifies
       from where the node originated.  If not specified for

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a given
       configuration data node, then the origin is the same as the
       origin of its parent node in the data tree.  The origin for
       any top-level configuration data nodes must be specified.";
  }

  identity origin {
    description
      "Abstract base identity for the origin annotation.";
  }

  identity intended {
    base origin;
    description
      "Denotes configuration from the intended configuration
       datastore.";
  }

  identity dynamic {
    base origin;
    description
      "Denotes configuration from a dynamic configuration
       datastore.";
  }

  identity system {
    base origin;
    description
      "Denotes configuration originated by the system itself.

       Examples of system configuration include applied configuration
       for an always-existing loopback interface, or interface
       configuration that is auto-created due to the hardware
       currently present in the device.";
  }

  identity learned {
    base origin;
    description
      "Denotes confi

[INF]: LN: Session 1: sending message:

#942


[INF]: LN: Session 1: sending message:
guration learned from protocol interactions with
       other devices, instead of via either the intended
       configuration datastore or any dynamic configuration
       datastore.

       Examples of protocols that provide learned configuration
       include link-layer negotiations, routing protocols, and
       DHCP.";
  }

  identity default {
    base origin;
    description
      "Denotes configuration that does not have a configured or
       learned value but has a default value in use.  Covers both
       values defined in a 'default' statement and values defined
       via an explanation in a 'description' statement.";
  }

  identity unknown {
    base origin;
    description
      "Denotes configuration for which the system cannot identify the
       origin.";
  }

  typedef origin-ref {
    type identityref {
      base origin;
    }
    description
      "An origin identity reference.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="16"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-netconf-with-defaults</identifier><version>2011-06-01</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-netconf-with-defaults" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="16"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-netconf-with-defaults {
  namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults";
  prefix ncwd;

  import ietf-netconf {
    prefix nc;
  }

  organization
    "IETF NETCONF (Network Configuration Protocol) Working Group";
  contact
    "WG Web:   &lt;http://tools.ietf.org/wg/netconf/&gt;

     WG List:  &lt;netconf@ietf.org&gt;

     WG Chair: Bert Wijnen
               &lt;bertietf@bwijnen.net&gt;

     WG Chair: Mehmet Ersue
               &lt;mehmet.ersue@nsn.com&gt;

     Editor: Andy Bierman
             &lt;andy.bierman@brocade.com&gt;

     Editor: Balazs Lengyel
             &lt;balazs.lengyel@ericsson.com&gt;";
  description
    "This module defines an extension to the NETCONF protocol
     that allows the NETCONF client to control how default
     values are handled by the server in particular NETCONF
     operations.

     Copyright (

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
c) 2011 IETF Trust and the persons identified as
     the document authors.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 6243; see
     the RFC itself for full legal notices.";

  revision 2011-06-01 {
    description
      "Initial version.";
    reference
      "RFC 6243: With-defaults Capability for NETCONF";
  }

  typedef with-defaults-mode {
    type enumeration {
      enum "report-all" {
        description
          "All default data is reported.";
        reference
          "RFC 6243; Section 3.1";
      }
      enum "report-all-tagged" {
        description
          "All default data is reported.
           Any nodes considered to

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
be default data
           will contain a 'default' XML attribute,
           set to 'true' or '1'.";
        reference
          "RFC 6243; Section 3.4";
      }
      enum "trim" {
        description
          "Values are not reported if they contain the default.";
        reference
          "RFC 6243; Section 3.2";
      }
      enum "explicit" {
        description
          "Report values that contain the definition of
           explicitly set data.";
        reference
          "RFC 6243; Section 3.3";
      }
    }
    description
      "Possible modes to report default data.";
    reference
      "RFC 6243; Section 3.";
  }

  grouping with-defaults-parameters {
    description
      "Contains the &lt;with-defaults&gt; parameter for control
       of defaults in NETCONF retrieval operations.";
    leaf with-defaults {
      type with-defaults-mode;
      description
        "The explicit defaults processing mode requested.";
      reference
        "RFC 6243; Section 4.5.1";
    }
  }

  augment "/

[INF]: LN: Session 1: sending message:

#764


[INF]: LN: Session 1: sending message:
nc:get-config/nc:input" {
    description
      "Adds the &lt;with-defaults&gt; parameter to the
       input of the NETCONF &lt;get-config&gt; operation.";
    reference
      "RFC 6243; Section 4.5.1";
    uses with-defaults-parameters;
  }

  augment "/nc:get/nc:input" {
    description
      "Adds the &lt;with-defaults&gt; parameter to
       the input of the NETCONF &lt;get&gt; operation.";
    reference
      "RFC 6243; Section 4.5.1";
    uses with-defaults-parameters;
  }

  augment "/nc:copy-config/nc:input" {
    description
      "Adds the &lt;with-defaults&gt; parameter to
       the input of the NETCONF &lt;copy-config&gt; operation.";
    reference
      "RFC 6243; Section 4.5.1";
    uses with-defaults-parameters;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="17"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>notifications</identifier><version>2008-07-14</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "notifications" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="17"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module notifications {
  namespace "urn:ietf:params:xml:ns:netconf:notification:1.0";
  prefix ncEvent;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NETCONF WG";
  contact
    "netconf@ops.ietf.org";
  description
    "Conversion of the 'ncEvent' XSD in the
     NETCONF Notifications RFC.";
  reference
    "RFC 5277.";

  revision 2008-07-14 {
    description
      "RFC 5277 version.";
  }

  typedef streamNameType {
    type string;
    description
      "The name of an event stream.";
  }

  rpc create-subscription {
    description
      "The command to create a notification subscription. It
       takes as argument the name of the notification stream
       and filter. Both of those options limit the content of
       the subscription. In addition, there are two time-related
       parameters, startTime and stopTime, which can be used to

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

       select the time interval of interest to the notification
       replay feature.";
    input {
      leaf stream {
        type streamNameType;
        default "NETCONF";
        description
          "An optional parameter that indicates which stream of events
           is of interest. If not present, then events in the default
           NETCONF stream will be sent.";
      }

      anyxml filter {
        description
          "An optional parameter that indicates which subset of all
           possible events is of interest. The format of this
           parameter is the same as that of the filter parameter
           in the NETCONF protocol operations. If not present,
           all events not precluded by other parameters will
           be sent.";
      }

      leaf startTime {
        type yang:date-and-time;
        description
          "A parameter used to trigger the replay feature and
           indicates that the replay should start at the time
           specified. If start time is not

[INF]: LN: Session 1: sending message:

#476


[INF]: LN: Session 1: sending message:
 present, this is not a
           replay subscription.";
      }

      leaf stopTime {
        type yang:date-and-time;
        description
          "An optional parameter used with the optional replay
           feature to indicate the newest notifications of
           interest. If stop time is not present, the notifications
           will continue until the subscription is terminated.
           Must be used with startTime.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="18"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>nc-notifications</identifier><version>2008-07-14</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "nc-notifications" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="18"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module nc-notifications {
  namespace "urn:ietf:params:xml:ns:netmod:notification";
  prefix manageEvent;

  import ietf-yang-types {
    prefix yang;
  }

  import notifications {
    prefix ncEvent;
  }

  organization
    "IETF NETCONF WG";
  contact
    "netconf@ietf.org";
  description
    "Conversion of the 'manageEvent' XSD in the NETCONF
     Notifications RFC.";
  reference
    "RFC 5277";

  revision 2008-07-14 {
    description
      "RFC 5277 version.";
  }

  container netconf {
    config false;
    description
      "Top-level element in the notification namespace";
    container streams {
      description
        "The list of event streams supported by the system. When
         a query is issued, the returned set of streams is
         determined based on user privileges.";
      list stream {
        key "name";
        min-elements 1;
        descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
          "Stream name, description and other information.";
        leaf name {
          type ncEvent:streamNameType;
          description
            "The name of the event stream. If this is the default
             NETCONF stream, this must have the value 'NETCONF'.";
        }

        leaf description {
          type string;
          mandatory true;
          description
            "A description of the event stream, including such
             information as the type of events that are sent over
             this stream.";
        }

        leaf replaySupport {
          type boolean;
          mandatory true;
          description
            "A description of the event stream, including such
             information as the type of events that are sent over
             this stream.";
        }

        leaf replayLogCreationTime {
          type yang:date-and-time;
          description
            "The timestamp of the creation of the log used to support
             the replay function on

[INF]: LN: Session 1: sending message:

#715


[INF]: LN: Session 1: sending message:
this stream. Note that this might
             be earlier then the earliest available notification in
             the log. This object is updated if the log resets for
             some reason.  This object MUST be present if replay is
             supported.";
        }
      }
    }
  }

  notification replayComplete {
    description
      "This notification is sent to signal the end of a replay
       portion of a subscription.";
  }

  notification notificationComplete {
    description
      "This notification is sent to signal the end of a notification
       subscription. It is sent in the case that stopTime was
       specified during the creation of the subscription..";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="19"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>notifications</identifier><version>2008-07-14</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "notifications" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="19"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module notifications {
  namespace "urn:ietf:params:xml:ns:netconf:notification:1.0";
  prefix ncEvent;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NETCONF WG";
  contact
    "netconf@ops.ietf.org";
  description
    "Conversion of the 'ncEvent' XSD in the
     NETCONF Notifications RFC.";
  reference
    "RFC 5277.";

  revision 2008-07-14 {
    description
      "RFC 5277 version.";
  }

  typedef streamNameType {
    type string;
    description
      "The name of an event stream.";
  }

  rpc create-subscription {
    description
      "The command to create a notification subscription. It
       takes as argument the name of the notification stream
       and filter. Both of those options limit the content of
       the subscription. In addition, there are two time-related
       parameters, startTime and stopTime, which can be used to

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

       select the time interval of interest to the notification
       replay feature.";
    input {
      leaf stream {
        type streamNameType;
        default "NETCONF";
        description
          "An optional parameter that indicates which stream of events
           is of interest. If not present, then events in the default
           NETCONF stream will be sent.";
      }

      anyxml filter {
        description
          "An optional parameter that indicates which subset of all
           possible events is of interest. The format of this
           parameter is the same as that of the filter parameter
           in the NETCONF protocol operations. If not present,
           all events not precluded by other parameters will
           be sent.";
      }

      leaf startTime {
        type yang:date-and-time;
        description
          "A parameter used to trigger the replay feature and
           indicates that the replay should start at the time
           specified. If start time is not

[INF]: LN: Session 1: sending message:

#476


[INF]: LN: Session 1: sending message:
 present, this is not a
           replay subscription.";
      }

      leaf stopTime {
        type yang:date-and-time;
        description
          "An optional parameter used with the optional replay
           feature to indicate the newest notifications of
           interest. If stop time is not present, the notifications
           will continue until the subscription is terminated.
           Must be used with startTime.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="20"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-x509-cert-to-name</identifier><version>2014-12-10</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-x509-cert-to-name" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="20"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-x509-cert-to-name {
  namespace "urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name";
  prefix x509c2n;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NETMOD (NETCONF Data Modeling Language) Working Group";
  contact
    "WG Web:   &lt;http://tools.ietf.org/wg/netmod/&gt;
     WG List:  &lt;mailto:netmod@ietf.org&gt;

     WG Chair: Thomas Nadeau
               &lt;mailto:tnadeau@lucidvision.com&gt;

     WG Chair: Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;

     Editor:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;

     Editor:   Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;";
  description
    "This module contains a collection of YANG definitions for
     extracting a name from an X.509 certificate.
     The algorithm used

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 to extract a name from an X.509 certificate
     was first defined in RFC 6353.

     Copyright (c) 2014 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 7407; see
     the RFC itself for full legal notices.";
  reference
    "RFC 6353: Transport Layer Security (TLS) Transport Model for
       the Simple Network Management Protocol (SNMP)";

  revision 2014-12-10 {
    description
      "Initial revision.";
    reference
      "RFC 7407: A YANG Data Model for SNMP Configuration";
  }

  identity cert-to-name {
    description
      "Base identity for algorithms to derive a name fro

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
m a
       certificate.";
  }

  identity specified {
    base cert-to-name;
    description
      "Directly specifies the name to be used for the certificate.
       The value of the leaf 'name' in the cert-to-name list is
       used.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSpecified";
  }

  identity san-rfc822-name {
    base cert-to-name;
    description
      "Maps a subjectAltName's rfc822Name to a name.  The local part
       of the rfc822Name is passed unaltered, but the host-part of
       the name must be passed in lowercase.  For example, the
       rfc822Name field FooBar@Example.COM is mapped to name
       FooBar@example.com.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSANRFC822Name";
  }

  identity san-dns-name {
    base cer

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t-to-name;
    description
      "Maps a subjectAltName's dNSName to a name after first
       converting it to all lowercase (RFC 5280 does not specify
       converting to lowercase, so this involves an extra step).
       This mapping results in a 1:1 correspondence between
       subjectAltName dNSName values and the name values.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSANDNSName";
  }

  identity san-ip-address {
    base cert-to-name;
    description
      "Maps a subjectAltName's iPAddress to a name by
       transforming the binary-encoded address as follows:

         1) for IPv4, the value is converted into a
            decimal-dotted quad address (e.g., '192.0.2.1').

         2) for IPv6 addresses, the value is converted into a
            32-character, all-lowercase hexadecimal string
            without any colon separators.

       This mapping results in a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
1:1 correspondence between
       subjectAltName iPAddress values and the name values.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSANIpAddress";
  }

  identity san-any {
    base cert-to-name;
    description
      "Maps any of the following fields using the corresponding
       mapping algorithms:

         +------------+-----------------+
         | Type       | Algorithm       |
         |------------+-----------------|
         | rfc822Name | san-rfc822-name |
         | dNSName    | san-dns-name    |
         | iPAddress  | san-ip-address  |
         +------------+-----------------+

       The first matching subjectAltName value found in the
       certificate of the above types MUST be used when deriving
       the name.  The mapping algorithm specified in the
       'Algorithm' column MUST be used to derive the name.

       This mapping results in a 1:1 correspondenc

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e between
       subjectAltName values and name values.  The three sub-mapping
       algorithms produced by this combined algorithm cannot produce
       conflicting results between themselves.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSANAny";
  }

  identity common-name {
    base cert-to-name;
    description
      "Maps a certificate's CommonName to a name after converting
       it to a UTF-8 encoding.  The usage of CommonNames is
       deprecated, and users are encouraged to use subjectAltName
       mapping methods instead.  This mapping results in a 1:1
       correspondence between certificate CommonName values and name
       values.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertCommonName";
  }

  typedef tls-fingerprint {
    type y

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ang:hex-string {
      pattern "([0-9a-fA-F]){2}(:([0-9a-fA-F]){2}){0,254}";
    }
    description
      "A fingerprint value that can be used to uniquely reference
       other data of potentially arbitrary length.

       A tls-fingerprint value is composed of a 1-octet hashing
       algorithm identifier followed by the fingerprint value.  The
       first octet value identifying the hashing algorithm is taken
       from the IANA 'TLS HashAlgorithm Registry' (RFC 5246).  The
       remaining octets are filled using the results of the hashing
       algorithm.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.SnmpTLSFingerprint";
  }

  grouping cert-to-name {
    description
      "Defines nodes for mapping certificates to names.  Modules
       that use this grouping should describe how the resulting
       name is used.";
    list cert-to-name {
      key "id";
      description
        "Th

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
is list defines how certificates are mapped to names.
         The name is derived by considering each cert-to-name
         list entry in order.  The cert-to-name entry's fingerprint
         determines whether the list entry is a match:

         1) If the cert-to-name list entry's fingerprint value
            matches that of the presented certificate, then consider
            the list entry a successful match.

         2) If the cert-to-name list entry's fingerprint value
            matches that of a locally held copy of a trusted CA
            certificate, and that CA certificate was part of the CA
            certificate chain to the presented certificate, then
            consider the list entry a successful match.

         Once a matching cert-to-name list entry has been found, the
         map-type is used to determine how the name associated with
         the certificate should be determined.  See the map-type
         leaf's description for details on determining the name value.
         If it

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 is impossible to determine a name from the cert-to-name
         list entry's data combined with the data presented in the
         certificate, then additional cert-to-name list entries MUST
         be searched to look for another potential match.

         Security administrators are encouraged to make use of
         certificates with subjectAltName fields that can be mapped to
         names so that a single root CA certificate can allow all
         child certificates' subjectAltName fields to map directly to
         a name via a 1:1 transformation.";
      reference
        "RFC 6353: Transport Layer Security (TLS) Transport Model
           for the Simple Network Management Protocol (SNMP).
           SNMP-TLS-TM-MIB.snmpTlstmCertToTSNEntry";
      leaf id {
        type uint32;
        description
          "The id specifies the order in which the entries in the
           cert-to-name list are searched.  Entries with lower
           numbers are searched first.";
        reference
          "RFC 6

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
353: Transport Layer Security (TLS) Transport Model
             for the Simple Network Management Protocol
             (SNMP).
             SNMP-TLS-TM-MIB.snmpTlstmCertToTSNID";
      }

      leaf fingerprint {
        type tls-fingerprint;
        mandatory true;
        description
          "Specifies a value with which the fingerprint of the
           full certificate presented by the peer is compared.  If
           the fingerprint of the full certificate presented by the
           peer does not match the fingerprint configured, then the
           entry is skipped, and the search for a match continues.";
        reference
          "RFC 6353: Transport Layer Security (TLS) Transport Model
             for the Simple Network Management Protocol
             (SNMP).
             SNMP-TLS-TM-MIB.snmpTlstmCertToTSNFingerprint";
      }

      leaf map-type {
        type identityref {
          base cert-to-name;
        }
        mandatory true;
        description
          "Specifies the algorithm

[INF]: LN: Session 1: sending message:

#956


[INF]: LN: Session 1: sending message:
used to map the certificate
           presented by the peer to a name.

           Mappings that need additional configuration objects should
           use the 'when' statement to make them conditional based on
           the map-type.";
        reference
          "RFC 6353: Transport Layer Security (TLS) Transport Model
             for the Simple Network Management Protocol
             (SNMP).
             SNMP-TLS-TM-MIB.snmpTlstmCertToTSNMapType";
      }

      leaf name {
        when "../map-type = 'x509c2n:specified'";
        type string;
        mandatory true;
        description
          "Directly specifies the NETCONF username when the
           map-type is 'specified'.";
        reference
          "RFC 6353: Transport Layer Security (TLS) Transport Model
             for the Simple Network Management Protocol
             (SNMP).
             SNMP-TLS-TM-MIB.snmpTlstmCertToTSNData";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="21"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-crypto-types</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-crypto-types" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="21"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-crypto-types {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-crypto-types";
  prefix ct;

  import ietf-yang-types {
    prefix yang;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
     Author:   Wang Haiguang &lt;wang.haiguang.shieldlab@huawei.com&gt;";
  description
    "This module defines common YANG types for cryptographic
     applications.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights res

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
erved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: Common YANG Data Types for Cryptography";
  }

  typedef hash-algorithm-t {
    type union {

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Hash algorithm is NULL.";
        }
        enum "sha1" {
          value 1;
          status obsolete;
          description
            "The SHA1 algorithm.";
          reference
            "RFC 3174: US Secure Hash Algorithms 1 (SHA1).";
        }
        enum "sha-224" {
          value 2;
          description
            "The SHA-224 algorithm.";
          reference
            "RFC 6234: US Secure Hash Algorithms.";
        }
        enum "sha-256" {
          value 3;
          description
            "The SHA-256 algorithm.";
          reference
            "RFC 6234: US Secure Hash Algorithms.";
        }
        enum "sha-384" {
          value 4;
          description
            "The SHA-384 algorithm.";
          reference
            "RFC 6234: US Secure Hash Algorithms.";
        }
        enum "sha-512" {
          value 5;
          description
            "The SHA-512 al

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
gorithm.";
          reference
            "RFC 6234: US Secure Hash Algorithms.";
        }
        enum "shake-128" {
          value 6;
          description
            "The SHA3 algorithm with 128-bits output.";
          reference
            "National Institute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
        enum "shake-224" {
          value 7;
          description
            "The SHA3 algorithm with 224-bits output.";
          reference
            "National Institute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
        enum "shake-256" {
          value 8;
          description
            "The SHA3 algorithm with 256-bits output.";
          reference
            "National I

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nstitute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
        enum "shake-384" {
          value 9;
          description
            "The SHA3 algorithm with 384-bits output.";
          reference
            "National Institute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
        enum "shake-512" {
          value 10;
          description
            "The SHA3 algorithm with 384-bits output.";
          reference
            "National Institute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
      }
    }
    default "0";
    descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
      "The uint16 filed shall be set by individual protocol families
       according to the hash algorithm value assigned by IANA. The
       setting is optional and by default is 0.  The enumeration
       filed is set to the selected hash algorithm.";
  }

  typedef asymmetric-key-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Asymetric key algorithm is NULL.";
        }
        enum "rsa1024" {
          value 1;
          description
            "The RSA algorithm using a 1024-bit key.";
          reference
            "RFC 8017: PKCS #1: RSA Cryptography
             Specifications Version 2.2.";
        }
        enum "rsa2048" {
          value 2;
          description
            "The RSA algorithm using a 2048-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "rsa3072" {
          value 3;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
description
            "The RSA algorithm using a 3072-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "rsa4096" {
          value 4;
          description
            "The RSA algorithm using a 4096-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "rsa7680" {
          value 5;
          description
            "The RSA algorithm using a 7680-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "rsa15360" {
          value 6;
          description
            "The RSA algorithm using a 15360-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "secp192r1" {
          value 7;
          description
            "The asymmetric algorith

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
m using a NIST P192 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
                Elliptic Curve Cryptography Subject Public Key
                Information.";
        }
        enum "secp224r1" {
          value 8;
          description
            "The asymmetric algorithm using a NIST P224 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
               Elliptic Curve Cryptography Subject Public Key
               Information.";
        }
        enum "secp256r1" {
          value 9;
          description
            "The asymmetric algorithm using a NIST P256 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
               Elliptic Curve Cryptography Subject Public Key
               Information.";
        }
        enum "secp384r

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
1" {
          value 10;
          description
            "The asymmetric algorithm using a NIST P384 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
               Elliptic Curve Cryptography Subject Public Key
               Information.";
        }
        enum "secp521r1" {
          value 11;
          description
            "The asymmetric algorithm using a NIST P521 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
               Elliptic Curve Cryptography Subject Public Key
               Information.";
        }
        enum "x25519" {
          value 12;
          description
            "The asymmetric algorithm using a x.25519 Curve.";
          reference
            "RFC 7748:
               Elliptic Curves for Security.";
        }
        enum "x448" {
          value 13;
          description
            "Th

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e asymmetric algorithm using a x.448 Curve.";
          reference
            "RFC 7748:
               Elliptic Curves for Security.";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the asymmetric key algorithm value
       assigned by IANA. The setting is optional and by default
       is 0.  The enumeration filed is set to the selected
       asymmetric key algorithm.";
  }

  typedef mac-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "mac algorithm is NULL.";
        }
        enum "hmac-sha1" {
          value 1;
          description
            "Generating MAC using SHA1 hash function";
          reference
            "RFC 3174: US Secure Hash Algorithm 1 (SHA1)";
        }
        enum "hmac-sha1-96" {
          value 2;
          description
            "Generating MAC using SHA1 hash function";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    reference
            "RFC 2404: The Use of HMAC-SHA-1-96 within ESP and AH";
        }
        enum "hmac-sha2-224" {
          value 3;
          description
            "Generating MAC using SHA2 hash function";
          reference
            "RFC 6234: US Secure Hash Algorithms
             (SHA and SHA-based HMAC and HKDF)";
        }
        enum "hmac-sha2-256" {
          value 4;
          description
            "Generating MAC using SHA2 hash function";
          reference
            "RFC 6234: US Secure Hash Algorithms
             (SHA and SHA-based HMAC and HKDF)";
        }
        enum "hmac-sha2-256-128" {
          value 5;
          description
            "Generating a 256 bits MAC using SHA2 hash function and
             truncate it to 128 bits";
          reference
            "RFC 4868: Using HMAC-SHA-256, HMAC-SHA-384,
             and HMAC-SHA-512 with IPsec";
        }
        enum "hmac-sha2-384" {
          value 6;
          description
            "Generating a 384 bits MA

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
C using SHA2 hash function";
          reference
            "RFC 6234: US Secure Hash Algorithms
             (SHA and SHA-based HMAC and HKDF)";
        }
        enum "hmac-sha2-384-192" {
          value 7;
          description
            "Generating a 384 bits MAC using SHA2 hash function and
             truncate it to 192 bits";
          reference
            "RFC 4868: Using HMAC-SHA-256, HMAC-SHA-384,
             and HMAC-SHA-512 with IPsec";
        }
        enum "hmac-sha2-512" {
          value 8;
          description
            "Generating a 512 bits MAC using SHA2 hash function";
          reference
            "RFC 6234: US Secure Hash Algorithms
             (SHA and SHA-based HMAC and HKDF)";
        }
        enum "hmac-sha2-512-256" {
          value 9;
          description
            "Generating a 512 bits MAC using SHA2 hash function and
             truncate it to 256 bits";
          reference
            "RFC 4868: Using HMAC-SHA-256, HMAC-SHA-384,
             and HMAC-SHA-51

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
2 with IPsec";
        }
        enum "aes-128-gmac" {
          value 10;
          description
            "Generating 128-bit MAC using the Advanced Encryption
             Standard (AES) Galois Message Authentication Code
             (GMAC) as a mechanism to provide data origin
             authentication.";
          reference
            "RFC 4543:
               The Use of Galois Message Authentication Code (GMAC)
               in IPsec ESP and AH";
        }
        enum "aes-192-gmac" {
          value 11;
          description
            "Generating 192-bit MAC using the Advanced Encryption
             Standard (AES) Galois Message Authentication Code
             (GMAC) as a mechanism to provide data origin
             authentication.";
          reference
            "RFC 4543:
               The Use of Galois Message Authentication Code (GMAC)
               in IPsec ESP and AH";
        }
        enum "aes-256-gmac" {
          value 12;
          description
            "Generating 256-bit

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 MAC using the Advanced Encryption
             Standard (AES) Galois Message Authentication Code
             (GMAC) as a mechanism to provide data origin
             authentication.";
          reference
            "RFC 4543:
               The Use of Galois Message Authentication Code (GMAC)
               in IPsec ESP and AH";
        }
        enum "aes-cmac-96" {
          value 13;
          description
            "Generating 96-bit MAC using Advanced Encryption
             Standard (AES) Cipher-based Message Authentication
             Code (CMAC)";
          reference
            "RFC 4494:
               The AES-CMAC Algorithm and its Use with IPsec";
        }
        enum "aes-cmac-128" {
          value 14;
          description
            "Generating 128-bit MAC using Advanced Encryption
             Standard (AES) Cipher-based Message Authentication
             Code (CMAC)";
          reference
            "RFC 4494:
               The AES-CMAC Algorithm and its Use with IPsec";
        }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

        enum "sha1-des3-kd" {
          value 15;
          description
            "Generating MAC using triple DES encryption function";
          reference
            "RFC 3961:
               Encryption and Checksum Specifications for Kerberos
               5";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the mac algorithm value assigned by
       IANA. The setting is optional and by default is 0.  The
       enumeration filed is set to the selected mac algorithm.";
  }

  typedef encryption-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Encryption algorithm is NULL.";
        }
        enum "aes-128-cbc" {
          value 1;
          description
            "Encrypt message with AES algorithm in CBC mode with
             a key length of 128 bits.";
          reference
            "RFC 3565: Use of

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
the Advanced Encryption Standard (AES)
             Encryption Algorithm in Cryptographic Message Syntax
             (CMS)";
        }
        enum "aes-192-cbc" {
          value 2;
          description
            "Encrypt message with AES algorithm in CBC mode with
             a key length of 192 bits";
          reference
            "RFC 3565: Use of the Advanced Encryption Standard (AES)
             Encryption Algorithm in Cryptographic Message Syntax
             (CMS)";
        }
        enum "aes-256-cbc" {
          value 3;
          description
            "Encrypt message with AES algorithm in CBC mode with
             a key length of 256 bits";
          reference
            "RFC 3565: Use of the Advanced Encryption Standard (AES)
             Encryption Algorithm in Cryptographic Message Syntax
             (CMS)";
        }
        enum "aes-128-ctr" {
          value 4;
          description
            "Encrypt message with AES algorithm in CTR mode with
             a key length of 12

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
8 bits";
          reference
            "RFC 3686:
               Using Advanced Encryption Standard (AES) Counter
               Mode with IPsec Encapsulating Security Payload
               (ESP)";
        }
        enum "aes-192-ctr" {
          value 5;
          description
            "Encrypt message with AES algorithm in CTR mode with
             a key length of 192 bits";
          reference
            "RFC 3686:
               Using Advanced Encryption Standard (AES) Counter
               Mode with IPsec Encapsulating Security Payload
               (ESP)";
        }
        enum "aes-256-ctr" {
          value 6;
          description
            "Encrypt message with AES algorithm in CTR mode with
             a key length of 256 bits";
          reference
            "RFC 3686:
               Using Advanced Encryption Standard (AES) Counter
               Mode with IPsec Encapsulating Security Payload
               (ESP)";
        }
        enum "des3-cbc-sha1-kd" {
          value 7;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    description
            "Encrypt message with 3DES algorithm in CBC mode
             with sha1 function for key derivation";
          reference
            "RFC 3961:
               Encryption and Checksum Specifications for
               Kerberos 5";
        }
        enum "rc4-hmac" {
          value 8;
          description
            "Encrypt message with rc4 algorithm";
          reference
            "RFC 4757:
               The RC4-HMAC Kerberos Encryption Types Used by
               Microsoft Windows";
        }
        enum "rc4-hmac-exp" {
          value 9;
          description
            "Encrypt message with rc4 algorithm that is exportable";
          reference
            "RFC 4757:
               The RC4-HMAC Kerberos Encryption Types Used by
               Microsoft Windows";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the encryption algorithm value
       assigned by IANA. The se

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tting is optional and by default
       is 0.  The enumeration filed is set to the selected
       encryption algorithm.";
  }

  typedef encryption-and-mac-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Encryption and MAC algorithm is NULL.";
          reference
            "None";
        }
        enum "aes-128-ccm" {
          value 1;
          description
            "Encrypt message with AES algorithm in CCM
             mode with a key length of 128 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4309: Using Advanced Encryption Standard
             (AES) CCM Mode with IPsec Encapsulating Security
             Payload (ESP)";
        }
        enum "aes-192-ccm" {
          value 2;
          description
            "Encrypt message with AES algorithm in CCM
             mode with a key length of 192 bits; it can
             also be used for generati

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ng MAC";
          reference
            "RFC 4309: Using Advanced Encryption Standard
             (AES) CCM Mode with IPsec Encapsulating Security
             Payload (ESP)";
        }
        enum "aes-256-ccm" {
          value 3;
          description
            "Encrypt message with AES algorithm in CCM
             mode with a key length of 256 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4309: Using Advanced Encryption Standard
             (AES) CCM Mode with IPsec Encapsulating Security
             Payload (ESP)";
        }
        enum "aes-128-gcm" {
          value 4;
          description
            "Encrypt message with AES algorithm in GCM
             mode with a key length of 128 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4106: The Use of Galois/Counter Mode (GCM)
             in IPsec Encapsulating Security Payload (ESP)";
        }
        enum "aes-192-gcm" {
          value 5;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
        description
            "Encrypt message with AES algorithm in GCM
             mode with a key length of 192 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4106: The Use of Galois/Counter Mode (GCM)
             in IPsec Encapsulating Security Payload (ESP)";
        }
        enum "aes-256-gcm" {
          value 6;
          description
            "Encrypt message with AES algorithm in GCM
             mode with a key length of 256 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4106: The Use of Galois/Counter Mode (GCM)
             in IPsec Encapsulating Security Payload (ESP)";
        }
        enum "chacha20-poly1305" {
          value 7;
          description
            "Encrypt message with chacha20 algorithm and generate
             MAC with POLY1305; it can also be used for generating
             MAC";
          reference
            "RFC 8439: ChaCha20 and Poly1305 for IETF Protocols";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the encryption and mac algorithm value
       assigned by IANA. The setting is optional and by default is
       0.  The enumeration filed is set to the selected encryption
       and mac algorithm.";
  }

  typedef signature-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Signature algorithm is NULL";
        }
        enum "dsa-sha1" {
          value 1;
          description
            "The signature algorithm using DSA algorithm with SHA1
             hash algorithm";
          reference
            "RFC 4253:
               The Secure Shell (SSH) Transport Layer Protocol";
        }
        enum "rsassa-pkcs1-sha1" {
          value 2;
          description
            "The signature algorithm using RSASSA-PKCS1-v1_5 with
             the SHA1 hash algorithm.";

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

          reference
            "RFC 4253:
               The Secure Shell (SSH) Transport Layer Protocol";
        }
        enum "rsassa-pkcs1-sha256" {
          value 3;
          description
            "The signature algorithm using RSASSA-PKCS1-v1_5 with
             the SHA256 hash algorithm.";
          reference
            "RFC 8332:
               Use of RSA Keys with SHA-256 and SHA-512 in the
               Secure Shell (SSH) Protocol
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pkcs1-sha384" {
          value 4;
          description
            "The signature algorithm using RSASSA-PKCS1-v1_5 with
             the SHA384 hash algorithm.";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pkcs1-sha512" {
          value 5;
          description
            "The signature algorithm using R

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
SASSA-PKCS1-v1_5 with
             the SHA512 hash algorithm.";
          reference
            "RFC 8332:
               Use of RSA Keys with SHA-256 and SHA-512 in the
               Secure Shell (SSH) Protocol
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-rsae-sha256" {
          value 6;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA256 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-rsae-sha384" {
          value 7;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA384 hash algorithm. If
             the

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-rsae-sha512" {
          value 8;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA512 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-pss-sha256" {
          value 9;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA256 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-pss-sha384" {
          value 10;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA384 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-pss-sha512" {
          value 11;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA512 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Pro

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tocol
               Version 1.3";
        }
        enum "ecdsa-secp256r1-sha256" {
          value 12;
          description
            "The signature algorithm using ECDSA with curve name
             secp256r1 and SHA256 hash algorithm.";
          reference
            "RFC 5656:
               Elliptic Curve Algorithm Integration in the Secure
               Shell Transport Layer
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "ecdsa-secp384r1-sha384" {
          value 13;
          description
            "The signature algorithm using ECDSA with curve name
             secp384r1 and SHA384 hash algorithm.";
          reference
            "RFC 5656:
               Elliptic Curve Algorithm Integration in the Secure
               Shell Transport Layer
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "ecdsa-secp521r1-sha512" {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   value 14;
          description
            "The signature algorithm using ECDSA with curve name
             secp521r1 and SHA512 hash algorithm.";
          reference
            "RFC 5656:
               Elliptic Curve Algorithm Integration in the Secure
               Shell Transport Layer
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "ed25519" {
          value 15;
          description
            "The signature algorithm using EdDSA with curve x25519";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed25519-cts" {
          value 16;
          description
            "The signature algorithm using EdDSA with curve x25519
             with phflag = 0";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed25519-ph" {
          value 17;
          de

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
scription
            "The signature algorithm using EdDSA with curve x25519
             with phflag = 1";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed25519-sha512" {
          value 18;
          description
            "The signature algorithm using EdDSA with curve x25519
             and SHA-512 function";
          reference
            "RFC 8419:
               Use of Edwards-Curve Digital Signature Algorithm
               (EdDSA) Signatures in the Cryptographic Message
               Syntax (CMS)";
        }
        enum "ed448" {
          value 19;
          description
            "The signature algorithm using EdDSA with curve x448";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed448-ph" {
          value 20;
          description
            "The signature algorithm using EdDSA with curve x448
             and with PH

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 being SHAKE256(x, 64) and phflag being 1";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed448-shake256" {
          value 21;
          description
            "The signature algorithm using EdDSA with curve x448
             and SHAKE-256 function";
          reference
            "RFC 8419:
               Use of Edwards-Curve Digital Signature Algorithm
               (EdDSA) Signatures in the Cryptographic Message
               Syntax (CMS)";
        }
        enum "ed448-shake256-len" {
          value 22;
          description
            "The signature algorithm using EdDSA with curve x448
             and SHAKE-256 function and a customized hash output";
          reference
            "RFC 8419:
               Use of Edwards-Curve Digital Signature Algorithm
               (EdDSA) Signatures in the Cryptographic Message
               Syntax (CMS)";
        }
        enum "rsa-sha2-256" {
          value 23;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       description
            "The signature algorithm using RSA with SHA2 function
             for SSH protocol";
          reference
            "RFC 8332:
             Use of RSA Keys with SHA-256 and SHA-512
             in the Secure Shell (SSH) Protocol";
        }
        enum "rsa-sha2-512" {
          value 24;
          description
            "The signature algorithm using RSA with SHA2 function
             for SSH protocol";
          reference
            "RFC 8332:
             Use of RSA Keys with SHA-256 and SHA-512
             in the Secure Shell (SSH) Protocol";
        }
        enum "eccsi" {
          value 25;
          description
            "The signature algorithm using ECCSI signature as
             defined in RFC 6507.";
          reference
            "RFC 6507:
               Elliptic Curve-Based Certificateless Signatures
               for Identity-based Encryption (ECCSI)";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by in

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
dividual protocol
       families according to the signature algorithm value
       assigned by IANA. The setting is optional and by default
       is 0.  The enumeration filed is set to the selected
       signature algorithm.";
  }

  typedef key-exchange-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Key exchange algorithm is NULL.";
        }
        enum "psk-only" {
          value 1;
          description
            "Using Pre-shared key for authentication and key
             exchange";
          reference
            "RFC 4279:
               Pre-Shared Key cipher suites for Transport Layer
               Security (TLS)";
        }
        enum "dhe-ffdhe2048" {
          value 2;
          description
            "Ephemeral Diffie Hellman key exchange with 2048 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellman Ephemera

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
l
               Parameters for Transport Layer Security (TLS)";
        }
        enum "dhe-ffdhe3072" {
          value 3;
          description
            "Ephemeral Diffie Hellman key exchange with 3072 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellman Ephemeral
               Parameters for Transport Layer Security (TLS)";
        }
        enum "dhe-ffdhe4096" {
          value 4;
          description
            "Ephemeral Diffie Hellman key exchange with 4096 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellman Ephemeral
               Parameters for Transport Layer Security (TLS)";
        }
        enum "dhe-ffdhe6144" {
          value 5;
          description
            "Ephemeral Diffie Hellman key exchange with 6144 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellm

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
an Ephemeral
               Parameters for Transport Layer Security (TLS)";
        }
        enum "dhe-ffdhe8192" {
          value 6;
          description
            "Ephemeral Diffie Hellman key exchange with 8192 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellman Ephemeral
               Parameters for Transport Layer Security (TLS)";
        }
        enum "psk-dhe-ffdhe2048" {
          value 7;
          description
            "Key exchange using pre-shared key with Diffie-Hellman
             key generation mechanism, where the DH group is
             FFDHE2048";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-dhe-ffdhe3072" {
          value 8;
          description
            "Key exchange using pre-shared key with Diffie-Hellman
             key generation mechanism, where the DH group is
             FFDHE3

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
072";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-dhe-ffdhe4096" {
          value 9;
          description
            "Key exchange using pre-shared key with Diffie-Hellman
             key generation mechanism, where the DH group is
             FFDHE4096";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-dhe-ffdhe6144" {
          value 10;
          description
            "Key exchange using pre-shared key with Diffie-Hellman
             key generation mechanism, where the DH group is
             FFDHE6144";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-dhe-ffdhe8192" {
          value 11;
          description
            "Key exchange using pre-shared key with Diffie-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Hellman
             key generation mechanism, where the DH group is
             FFDHE8192";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "ecdhe-secp256r1" {
          value 12;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve secp256r1";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        enum "ecdhe-secp384r1" {
          value 13;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve secp384r1";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        e

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
num "ecdhe-secp521r1" {
          value 14;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve secp521r1";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        enum "ecdhe-x25519" {
          value 15;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve x25519";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        enum "ecdhe-x448" {
          value 16;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve x448";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        enum "psk-ecdhe-secp256r1" {
          value 17;
          description
            "Key exchange using pre-shared key with elliptic
             group-based Ephemeral Diffie Hellman key exchange
             over curve secp256r1";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-ecdhe-secp384r1" {
          value 18;
          description
            "Key exchange using pre-shared key with elliptic
             group-based Ephemeral Diffie Hellman key exchange
             over curve secp384r1";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-ecdhe-secp521r1" {
          value 19;
          description
            "Key exchange using pre-shared key with elliptic


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          group-based Ephemeral Diffie Hellman key exchange
             over curve secp521r1";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-ecdhe-x25519" {
          value 20;
          description
            "Key exchange using pre-shared key with elliptic
             group-based Ephemeral Diffie Hellman key exchange
             over curve x25519";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-ecdhe-x448" {
          value 21;
          description
            "Key exchange using pre-shared key with elliptic
             group-based Ephemeral Diffie Hellman key exchange
             over curve x448";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "diffie-hellman-group14-sha1"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
{
          value 22;
          description
            "Using DH group14 and SHA1 for key exchange";
          reference
            "RFC 4253:
               The Secure Shell (SSH) Transport Layer Protocol";
        }
        enum "diffie-hellman-group14-sha256" {
          value 23;
          description
            "Using DH group14 and SHA-256 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "diffie-hellman-group15-sha512" {
          value 24;
          description
            "Using DH group15 and SHA-512 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "diffie-hellman-group16-sha512" {
          value 25;
          description
            "Using DH group16 and SHA-512

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "diffie-hellman-group17-sha512" {
          value 26;
          description
            "Using DH group17 and SHA-512 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "diffie-hellman-group18-sha512" {
          value 27;
          description
            "Using DH group18 and SHA-512 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "ecdh-sha2-secp256r1" {
          value 28;
          description
            "Elliptic curve-based Diffie Hellman key exchange ov

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
er
             curve ecp256r1 and using SHA2 for MAC generation";
          reference
            "RFC 6239:
               Suite B Cryptographic Suites for Secure Shell (SSH)";
        }
        enum "ecdh-sha2-secp384r1" {
          value 29;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve ecp384r1 and using SHA2 for MAC generation";
          reference
            "RFC 6239:
               Suite B Cryptographic Suites for Secure Shell (SSH)";
        }
        enum "ecdh-x25519-x9.63-sha256" {
          value 30;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using ANSI x9.63 with SHA256 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-x9.63-sha384" {
          val

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ue 31;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using ANSI x9.63 with SHA384 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-x9.63-sha512" {
          value 32;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using ANSI x9.63 with SHA512 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-hkdf-sha256" {
          value 33;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and us

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ing HKDF with SHA256 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-hkdf-sha384" {
          value 34;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using HKDF with SHA384 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-hkdf-sha512" {
          value 35;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using HKDF with SHA512 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-x9.63-sha256" {
          value 36;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using ANSI x9.63 with SHA256 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-x9.63-sha384" {
          value 37;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using ANSI x9.63 with SHA384 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
448-x9.63-sha512" {
          value 38;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using ANSI x9.63 with SHA512 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-hkdf-sha256" {
          value 39;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using HKDF with SHA256 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-hkdf-sha384" {
          value 40;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             cu

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rve x.448 and using HKDF with SHA384 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-hkdf-sha512" {
          value 41;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using HKDF with SHA512 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "rsaes-oaep" {
          value 42;
          description
            "RSAES-OAEP combines the RSAEP and RSADP primitives with
             the EME-OAEP encoding method";
          reference
            "RFC 8017:
               PKCS #1:
                 RSA Cryptography Specifications Version 2.2.";

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

        }
        enum "rsaes-pkcs1-v1_5" {
          value 43;
          description
            "RSAES-PKCS1-v1_5 combines the RSAEP and RSADP
             primitives with the EME-PKCS1-v1_5 encoding method";
          reference
            "RFC 8017:
               PKCS #1:
                 RSA Cryptography Specifications Version 2.2.";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the key exchange algorithm value
       assigned by IANA. The setting is optional and by default
       is 0.  The enumeration filed is set to the selected key
       exchange algorithm.";
  }

  typedef x509 {
    type binary;
    description
      "A Certificate structure, as specified in RFC 5280,
       encoded using ASN.1 distinguished encoding rules (DER),
       as specified in ITU-T X.690.";
    reference
      "RFC 5280:
         Internet X.509 Public Key Infrastructure Certificate
         and Certificate Revocation Lis

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t (CRL) Profile
       ITU-T X.690:
         Information technology - ASN.1 encoding rules:
         Specification of Basic Encoding Rules (BER),
         Canonical Encoding Rules (CER) and Distinguished
         Encoding Rules (DER).";
  }

  typedef crl {
    type binary;
    description
      "A CertificateList structure, as specified in RFC 5280,
       encoded using ASN.1 distinguished encoding rules (DER),
       as specified in ITU-T X.690.";
    reference
      "RFC 5280:
         Internet X.509 Public Key Infrastructure Certificate
         and Certificate Revocation List (CRL) Profile
       ITU-T X.690:
         Information technology - ASN.1 encoding rules:
         Specification of Basic Encoding Rules (BER),
         Canonical Encoding Rules (CER) and Distinguished
         Encoding Rules (DER).";
  }

  typedef cms {
    type binary;
    description
      "A ContentInfo structure, as specified in RFC 5652,
       encoded using ASN.1 distinguished encoding rules (DER),
       as specified in ITU

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
-T X.690.";
    reference
      "RFC 5652:
         Cryptographic Message Syntax (CMS)
       ITU-T X.690:
         Information technology - ASN.1 encoding rules:
         Specification of Basic Encoding Rules (BER),
         Canonical Encoding Rules (CER) and Distinguished
         Encoding Rules (DER).";
  }

  typedef data-content-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       data content type, as described by Section 4 in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef signed-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       signed-data content type, as described by Section 5 in
       RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef enveloped-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       enveloped-data content type, as described b

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
y Section 6
       in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef digested-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       digested-data content type, as described by Section 7
       in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef encrypted-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       encrypted-data content type, as described by Section 8
       in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef authenticated-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       authenticated-data content type, as described by Section 9
       in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef ssh-host-key {
    type binary;
    description
      "The

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 binary public key data for this SSH key, as
       specified by RFC 4253, Section 6.6, i.e.:

         string    certificate or public key format
                   identifier
         byte[n]   key/certificate data.";
    reference
      "RFC 4253: The Secure Shell (SSH) Transport Layer
                 Protocol";
  }

  typedef trust-anchor-cert-x509 {
    type x509;
    description
      "A Certificate structure that MUST encode a self-signed
       root certificate.";
  }

  typedef end-entity-cert-x509 {
    type x509;
    description
      "A Certificate structure that MUST encode a certificate
       that is neither self-signed nor having Basic constraint
       CA true.";
  }

  typedef trust-anchor-cert-cms {
    type signed-data-cms;
    description
      "A CMS SignedData structure that MUST contain the chain of
       X.509 certificates needed to authenticate the certificate
       presented by a client or end-entity.

       The CMS MUST contain only a single chain of certificates.
       The cl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ient or end-entity certificate MUST only authenticate
       to last intermediate CA certificate listed in the chain.

       In all cases, the chain MUST include a self-signed root
       certificate.  In the case where the root certificate is
       itself the issuer of the client or end-entity certificate,
       only one certificate is present.

       This CMS structure MAY (as applicable where this type is
       used) also contain suitably fresh (as defined by local
       policy) revocation objects with which the device can
       verify the revocation status of the certificates.

       This CMS encodes the degenerate form of the SignedData
       structure that is commonly used to disseminate X.509
       certificates and revocation objects (RFC 5280).";
    reference
      "RFC 5280:
         Internet X.509 Public Key Infrastructure Certificate
         and Certificate Revocation List (CRL) Profile.";
  }

  typedef end-entity-cert-cms {
    type signed-data-cms;
    description
      "A CMS Signed

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Data structure that MUST contain the end
       entity certificate itself, and MAY contain any number
       of intermediate certificates leading up to a trust
       anchor certificate.  The trust anchor certificate
       MAY be included as well.

       The CMS MUST contain a single end entity certificate.
       The CMS MUST NOT contain any spurious certificates.

       This CMS structure MAY (as applicable where this type is
       used) also contain suitably fresh (as defined by local
       policy) revocation objects with which the device can
       verify the revocation status of the certificates.

       This CMS encodes the degenerate form of the SignedData
       structure that is commonly used to disseminate X.509
       certificates and revocation objects (RFC 5280).";
    reference
      "RFC 5280:
         Internet X.509 Public Key Infrastructure Certificate
         and Certificate Revocation List (CRL) Profile.";
  }

  grouping symmetric-key-grouping {
    description
      "A symmetric key

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 and algorithm.";
    leaf algorithm {
      type encryption-algorithm-t;
      mandatory true;
      description
        "The algorithm to be used when generating the key.";
      reference
        "RFC CCCC: Common YANG Data Types for Cryptography";
    }

    choice key-type {
      mandatory true;
      description
        "Choice between key types.";
      leaf key {
        nacm:default-deny-all;
        type binary;
        description
          "The binary value of the key.  The interpretation of
           the value is defined by 'algorithm'.  For example,
           FIXME.";
        reference
          "RFC XXXX: FIXME";
      }

      leaf hidden-key {
        nacm:default-deny-write;
        type empty;
        description
          "A permanently hidden key.  How such keys are created
           is outside the scope of this module.";
      }
    }
  }

  grouping public-key-grouping {
    description
      "A public key and its associated algorithm.";
    leaf algorithm {
      nacm:default-deny-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
write;
      type asymmetric-key-algorithm-t;
      mandatory true;
      description
        "Identifies the key's algorithm.";
      reference
        "RFC CCCC: Common YANG Data Types for Cryptography";
    }

    leaf public-key {
      nacm:default-deny-write;
      type binary;
      mandatory true;
      description
        "The binary value of the public key.  The interpretation
         of the value is defined by 'algorithm'.  For example,
         a DSA key is an integer, an RSA key is represented as
         RSAPublicKey per RFC 8017, and an ECC key is represented
         using the 'publicKey' described in RFC 5915.";
      reference
        "RFC 8017: Public-Key Cryptography Standards (PKCS) #1:
                   RSA Cryptography Specifications Version 2.2.
         RFC 5915: Elliptic Curve Private Key Structure.";
    }
  }

  grouping asymmetric-key-pair-grouping {
    description
      "A private key and its associated public key and algorithm.";
    uses public-key-grouping;

    choice priv

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ate-key-type {
      mandatory true;
      description
        "Choice between key types.";
      leaf private-key {
        nacm:default-deny-all;
        type binary;
        description
          "The value of the binary key.  The key's value is
           interpreted by the 'algorithm'.  For example, a DSA key
           is an integer, an RSA key is represented as RSAPrivateKey
           as defined in RFC 8017, and an ECC key is represented as
           ECPrivateKey as defined in RFC 5915.";
        reference
          "RFC 8017: Public-Key Cryptography Standards (PKCS) #1:
                     RSA Cryptography Specifications Version 2.2.
           RFC 5915: Elliptic Curve Private Key Structure.";
      }

      leaf hidden-private-key {
        nacm:default-deny-write;
        type empty;
        description
          "A permanently hidden key.  How such keys are created
           is outside the scope of this module.";
      }
    }
  }

  grouping trust-anchor-cert-grouping {
    description
      "

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
A trust anchor certificate, and a notification for when
       it is about to (or already has) expire.";
    leaf cert {
      nacm:default-deny-write;
      type trust-anchor-cert-cms;
      description
        "The binary certificate data for this certificate.";
      reference
        "RFC YYYY: Common YANG Data Types for Cryptography";
    }

    notification certificate-expiration {
      description
        "A notification indicating that the configured certificate
         is either about to expire or has already expired.  When to
         send notifications is an implementation specific decision,
         but it is RECOMMENDED that a notification be sent once a
         month for 3 months, then once a week for four weeks, and
         then once a day thereafter until the issue is resolved.";
      leaf expiration-date {
        type yang:date-and-time;
        mandatory true;
        description
          "Identifies the expiration date on the certificate.";
      }
    }
  }

  grouping trust-anchor-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
certs-grouping {
    description
      "A list of trust anchor certificates, and a notification
       for when one is about to (or already has) expire.";
    leaf-list cert {
      nacm:default-deny-write;
      type trust-anchor-cert-cms;
      description
        "The binary certificate data for this certificate.";
      reference
        "RFC YYYY: Common YANG Data Types for Cryptography";
    }

    notification certificate-expiration {
      description
        "A notification indicating that the configured certificate
         is either about to expire or has already expired.  When to
         send notifications is an implementation specific decision,
         but it is RECOMMENDED that a notification be sent once a
         month for 3 months, then once a week for four weeks, and
         then once a day thereafter until the issue is resolved.";
      leaf expiration-date {
        type yang:date-and-time;
        mandatory true;
        description
          "Identifies the expiration date on the cer

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tificate.";
      }
    }
  }

  grouping end-entity-cert-grouping {
    description
      "An end entity certificate, and a notification for when
       it is about to (or already has) expire.  Implementations
       SHOULD assert that, where used, the end entity certificate
       contains the expected public key.";
    leaf cert {
      nacm:default-deny-write;
      type end-entity-cert-cms;
      description
        "The binary certificate data for this certificate.";
      reference
        "RFC YYYY: Common YANG Data Types for Cryptography";
    }

    notification certificate-expiration {
      description
        "A notification indicating that the configured certificate
         is either about to expire or has already expired.  When to
         send notifications is an implementation specific decision,
         but it is RECOMMENDED that a notification be sent once a
         month for 3 months, then once a week for four weeks, and
         then once a day thereafter until the issue is resolved.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      leaf expiration-date {
        type yang:date-and-time;
        mandatory true;
        description
          "Identifies the expiration date on the certificate.";
      }
    }
  }

  grouping end-entity-certs-grouping {
    description
      "A list of end entity certificates, and a notification for
       when one is about to (or already has) expire.";
    leaf-list cert {
      nacm:default-deny-write;
      type end-entity-cert-cms;
      description
        "The binary certificate data for this certificate.";
      reference
        "RFC YYYY: Common YANG Data Types for Cryptography";
    }

    notification certificate-expiration {
      description
        "A notification indicating that the configured certificate
         is either about to expire or has already expired.  When to
         send notifications is an implementation specific decision,
         but it is RECOMMENDED that a notification be sent once a
         month for 3 months, then once a week for four weeks, and
         then once

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 a day thereafter until the issue is resolved.";
      leaf expiration-date {
        type yang:date-and-time;
        mandatory true;
        description
          "Identifies the expiration date on the certificate.";
      }
    }
  }

  grouping asymmetric-key-pair-with-cert-grouping {
    description
      "A private/public key pair and an associated certificate.
       Implementations SHOULD assert that certificates contain
       the matching public key.";
    uses asymmetric-key-pair-grouping;

    uses end-entity-cert-grouping;

    action generate-certificate-signing-request {
      nacm:default-deny-all;
      description
        "Generates a certificate signing request structure for
         the associated asymmetric key using the passed subject
         and attribute values.  The specified assertions need
         to be appropriate for the certificate's use.  For
         example, an entity certificate for a TLS server
         SHOULD have values that enable clients to satisfy
         RFC 6125 pr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ocessing.";
      input {
        leaf subject {
          type binary;
          mandatory true;
          description
            "The 'subject' field per the CertificationRequestInfo
              structure as specified by RFC 2986, Section 4.1
              encoded using the ASN.1 distinguished encoding
              rules (DER), as specified in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:
               Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }

        leaf attributes {
          type binary;
          description
            "The 'attributes' field from the structure
             CertificationRequestInfo as specified by RFC 2986,
             Section 4.1 encoded using the ASN.1 disting

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
uished
             encoding rules (DER), as specified in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:
               Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }
      }

      output {
        leaf certificate-signing-request {
          type binary;
          mandatory true;
          description
            "A CertificationRequest structure as specified by
             RFC 2986, Section 4.2 encoded using the ASN.1
             distinguished encoding rules (DER), as specified
             in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }
      }
    }
  }

  grouping asymmetric-key-pair-with-certs-grouping {
    description
      "A private/public key pair and associated certificates.
       Implementations SHOULD assert that certificates contain
       the matching public key.";
    uses asymmetric-key-pair-grouping;

    container certificates {
      nacm:default-deny-write;
      description
        "Certificates associated with this asymmetric key.
         More than one certificate supports, for instance,
         a TPM-protected asymmetric key that has both IDevID
         and LDevID certificates associated.";
      list certificate {
        key "name";
        description
          "A certificate for this asymmetric key.";
        leaf name {
          type string;
          description
            "An arbitrary name

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 for the certificate.  If the name
             matches the name of a certificate that exists
             independently in &lt;operational&gt; (i.e., an IDevID),
             then the 'cert' node MUST NOT be configured.";
        }

        uses end-entity-cert-grouping;
      }
    }

    action generate-certificate-signing-request {
      nacm:default-deny-all;
      description
        "Generates a certificate signing request structure for
         the associated asymmetric key using the passed subject
         and attribute values.  The specified assertions need
         to be appropriate for the certificate's use.  For
         example, an entity certificate for a TLS server
         SHOULD have values that enable clients to satisfy
         RFC 6125 processing.";
      input {
        leaf subject {
          type binary;
          mandatory true;
          description
            "The 'subject' field per the CertificationRequestInfo
              structure as specified by RFC 2986, Section 4.1


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       encoded using the ASN.1 distinguished encoding
              rules (DER), as specified in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:
               Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }

        leaf attributes {
          type binary;
          description
            "The 'attributes' field from the structure
             CertificationRequestInfo as specified by RFC 2986,
             Section 4.1 encoded using the ASN.1 distinguished
             encoding rules (DER), as specified in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:


[INF]: LN: Session 1: sending message:

#1017


[INF]: LN: Session 1: sending message:
        Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }
      }

      output {
        leaf certificate-signing-request {
          type binary;
          mandatory true;
          description
            "A CertificationRequest structure as specified by
             RFC 2986, Section 4.2 encoded using the ASN.1
             distinguished encoding rules (DER), as specified
             in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:
               Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }
      }
    }
  }
}
</data>

[INF]: LN: Session 1: sending message:

#12


[INF]: LN: Session 1: sending message:
</rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="22"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-keystore</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-keystore" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="22"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-keystore {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-keystore";
  prefix ks;

  import ietf-crypto-types {
    prefix ct;
    reference
      "RFC CCCC: Common YANG Data Types for Cryptography";
  }

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;";
  description
    "This module defines a keystore to centralize management
     of security credentials.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and bi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC VVVV: A YANG Data Model for a Keystore";
  }

  feature keystore-supported {
    description
      "The 'keystore-supported' feature indicates that th

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e server
       supports the keystore.";
  }

  feature local-definitions-supported {
    description
      "The 'local-definitions-supported' feature indicates that the
       server supports locally-defined keys.";
  }

  feature key-generation {
    description
      "Indicates that the server supports the actions related to
       the life cycling keys in &lt;operational&gt;.  To be used by
       configuration, keys in &lt;operational&gt; must be copied to
       &lt;running&gt;.";
  }

  typedef asymmetric-key-ref {
    type leafref {
      path "/ks:keystore/ks:asymmetric-keys/ks:asymmetric-key/ks:name";
    }
    description
      "This typedef enables modules to easily define a reference
       to an asymmetric key stored in the keystore.";
  }

  grouping key-reference-type-grouping {
    description
      "A reusable grouping for a choice for the type of key
       referenced in the keystore.";
    choice key-type {
      mandatory true;
      description
        "A choice between a reference to a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
symmetric or asymmetric
         key in the keystore.";
      leaf symmetric-key-ref {
        if-feature "keystore-supported";
        type leafref {
          path "/ks:keystore/ks:symmetric-keys/ks:symmetric-key/ks:name";
        }
        description
          "Identifies a symmetric key used to encrypt this key.";
      }

      leaf asymmetric-key-ref {
        if-feature "keystore-supported";
        type leafref {
          path "/ks:keystore/ks:asymmetric-keys/ks:asymmetric-key/ks:name";
        }
        description
          "Identifies an asymmetric key used to encrypt this key.";
      }
    }
  }

  grouping encrypted-value-grouping {
    description
      "A reusable grouping for a value that has been encrypted by
       a symmetric or asymmetric key in the keystore.";
    uses key-reference-type-grouping;

    leaf value {
      type binary;
      description
        "The private key, encrypted using the specified symmetric
         or asymmetric key.";
    }
  }

  grouping symmetric-key-grou

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ping {
    description
      "This grouping is identical to the one in ietf-crypt-types
       except that it adds a couple case statements enabling the
       key value to be encrypted by a symmetric or an asymmetric
       key known to the keystore.";
    uses ct:symmetric-key-grouping {
      augment "key-type" {
        description
          "Augments a new 'case' statement into the 'choice'
           statement defined by the ietf-crypto-types module.";
        container encrypted-key {
          description
            "A container for the encrypted symmetric key value.";
          uses encrypted-value-grouping;
        }
      }
    }
  }

  grouping asymmetric-key-pair-grouping {
    description
      "This grouping is identical to the one in ietf-crypt-types
       except that it adds a couple case statements enabling the
       key value to be encrypted by a symmetric or an asymmetric
       key known to the keystore.";
    uses ct:asymmetric-key-pair-grouping {
      augment "private-key-type" {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      description
          "Augments a new 'case' statement into the 'choice'
           statement defined by the ietf-crypto-types module.";
        container encrypted-private-key {
          description
            "A container for the encrypted asymmetric private
             key value.";
          uses encrypted-value-grouping;
        }
      }
    }
  }

  grouping asymmetric-key-pair-with-cert-grouping {
    description
      "This grouping is identical to the one in ietf-crypt-types
       except that it adds a couple case statements enabling the
       key value to be encrypted by a symmetric or an asymmetric
       key known to the keystore.";
    uses ct:asymmetric-key-pair-with-cert-grouping {
      augment "private-key-type" {
        description
          "Augments a new 'case' statement into the 'choice'
           statement defined by the ietf-crypto-types module.";
        container encrypted-private-key {
          description
            "A container for the encrypted asymmetric private


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
            key value.";
          uses encrypted-value-grouping;
        }
      }
    }
  }

  grouping asymmetric-key-pair-with-certs-grouping {
    description
      "This grouping is identical to the one in ietf-crypt-types
       except that it adds a couple case statements enabling the
       key value to be encrypted by a symmetric or an asymmetric
       key known to the keystore.";
    uses ct:asymmetric-key-pair-with-certs-grouping {
      augment "private-key-type" {
        description
          "Augments a new 'case' statement into the 'choice'
           statement defined by the ietf-crypto-types module.";
        container encrypted-private-key {
          description
            "A container for the encrypted asymmetric private
             key value.";
          uses encrypted-value-grouping;
        }
      }
    }
  }

  grouping asymmetric-key-certificate-ref-grouping {
    description
      "This grouping defines a reference to a specific certificate
       associated with an asymmetric

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
key stored in the keystore.";
    leaf asymmetric-key {
      type asymmetric-key-ref;
      must "../certificate";
      description
        "A reference to an asymmetric key in the keystore.";
    }

    leaf certificate {
      type leafref {
        path "/ks:keystore/ks:asymmetric-keys/ks:asymmetric-key[ks:name = current()/../asymmetric-key]/ks:certificates/ks:certificate/ks:name";
      }
      must "../asymmetric-key";
      description
        "A reference to a specific certificate of the
         asymmetric key in the keystore.";
    }
  }

  grouping local-or-keystore-asymmetric-key-grouping {
    description
      "A grouping that expands to allow the asymmetric key to be
       either stored locally, within the using data model, or be
       a reference to an asymmetric key stored in the keystore.";
    choice local-or-keystore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the keystore.";
      case local {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local key definition.";
          uses asymmetric-key-pair-grouping;
        }
      }

      case keystore {
        if-feature "keystore-supported";
        leaf keystore-reference {
          type asymmetric-key-ref;
          description
            "A reference to an asymmetric key that exists in
             the keystore.  The intent is to reference just the
             asymmetric key, not any certificates that may also
             be associated with the asymmetric key.";
        }
      }
    }
  }

  grouping local-or-keystore-asymmetric-key-with-certs-grouping {
    description
      "A grouping that expands to allow an asymmetric key and its
       associated certificates to be either stored locally, within
       the using data model, or be a reference to an asymmetric key
       (and its associated certificates) stored in the keystore.";
    choice local-or-ke

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ystore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the keystore.";
      case local {
        if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local key definition.";
          uses asymmetric-key-pair-with-certs-grouping;
        }
      }

      case keystore {
        if-feature "keystore-supported";
        leaf keystore-reference {
          type asymmetric-key-ref;
          description
            "A reference to an asymmetric-key (and all of its
             associated certificates) in the keystore.";
        }
      }
    }
  }

  grouping local-or-keystore-end-entity-cert-with-key-grouping {
    description
      "A grouping that expands to allow an end-entity certificate
       (and its associated private key) to be either stored locally,
       within the using data model, or be a reference to a specific
       certificate in

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
the keystore.";
    choice local-or-keystore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the keystore.";
      case local {
        if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local key definition.";
          uses asymmetric-key-pair-with-cert-grouping;
        }
      }

      case keystore {
        if-feature "keystore-supported";
        container keystore-reference {
          description
            "A reference to a specific certificate (and its
             associated private key) in the keystore.";
          uses asymmetric-key-certificate-ref-grouping;
        }
      }
    }
  }

  grouping keystore-grouping {
    description
      "Grouping definition enables use in other contexts.  If ever
       done, implementations SHOULD augment new 'case' statements
       into local-or-keystore 'choice' statements to supply leafre

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
fs
       to the new location.";
    container asymmetric-keys {
      description
        "A list of asymmetric keys.";
      list asymmetric-key {
        key "name";
        description
          "An asymmetric key.";
        leaf name {
          type string;
          description
            "An arbitrary name for the asymmetric key.";
        }

        uses ks:asymmetric-key-pair-with-certs-grouping;
      }
    }

    container symmetric-keys {
      description
        "A list of symmetric keys.";
      list symmetric-key {
        key "name";
        description
          "A symmetric key.";
        leaf name {
          type string;
          description
            "An arbitrary name for the symmetric key.";
        }

        uses ks:symmetric-key-grouping;
      }
    }
  }

  container keystore {
    nacm:default-deny-write;
    description
      "The keystore contains a list of keys.";
    uses keystore-grouping;
  }

  rpc generate-symmetric-key {
    description
      "Requests the device to

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 generate an symmetric key using
       the specified key algorithm, optionally encrypted using
       a key in the keystore.  The output is this RPC can be
       used as input to a subsequent configuration request.";
    input {
      leaf algorithm {
        type ct:encryption-algorithm-t;
        mandatory true;
        description
          "The algorithm to be used when generating the key.";
        reference
          "RFC CCCC: Common YANG Data Types for Cryptography";
      }

      container encrypt-with {
        presence "Indicates that the key should be encrypted using
         the specified symmetric or asymmetric key.  If not
         specified, then the private key is not encrypted
         when returned.";
        description
          "A container for the 'key-type' choice.";
        uses key-reference-type-grouping;
      }
    }

    output {
      uses ks:symmetric-key-grouping;
    }
  }

  rpc generate-asymmetric-key {
    description
      "Requests the device to generate an asymmetric

[INF]: LN: Session 1: sending message:

#932


[INF]: LN: Session 1: sending message:
 key using
       the specified key algorithm, optionally encrypted using
       a key in the keystore.  The output is this RPC can be
       used as input to a subsequent configuration request.";
    input {
      leaf algorithm {
        type ct:asymmetric-key-algorithm-t;
        mandatory true;
        description
          "The algorithm to be used when generating the key.";
        reference
          "RFC CCCC: Common YANG Data Types for Cryptography";
      }

      container encrypt-with {
        presence "Indicates that the key should be encrypted using
         the specified symmetric or asymmetric key.  If not
         specified, then the private key is not encrypted
         when returned.";
        description
          "A container for the 'key-type' choice.";
        uses key-reference-type-grouping;
      }
    }

    output {
      uses ks:asymmetric-key-pair-grouping;
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="23"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-crypto-types</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-crypto-types" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="23"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-crypto-types {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-crypto-types";
  prefix ct;

  import ietf-yang-types {
    prefix yang;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
     Author:   Wang Haiguang &lt;wang.haiguang.shieldlab@huawei.com&gt;";
  description
    "This module defines common YANG types for cryptographic
     applications.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights res

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
erved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: Common YANG Data Types for Cryptography";
  }

  typedef hash-algorithm-t {
    type union {

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Hash algorithm is NULL.";
        }
        enum "sha1" {
          value 1;
          status obsolete;
          description
            "The SHA1 algorithm.";
          reference
            "RFC 3174: US Secure Hash Algorithms 1 (SHA1).";
        }
        enum "sha-224" {
          value 2;
          description
            "The SHA-224 algorithm.";
          reference
            "RFC 6234: US Secure Hash Algorithms.";
        }
        enum "sha-256" {
          value 3;
          description
            "The SHA-256 algorithm.";
          reference
            "RFC 6234: US Secure Hash Algorithms.";
        }
        enum "sha-384" {
          value 4;
          description
            "The SHA-384 algorithm.";
          reference
            "RFC 6234: US Secure Hash Algorithms.";
        }
        enum "sha-512" {
          value 5;
          description
            "The SHA-512 al

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
gorithm.";
          reference
            "RFC 6234: US Secure Hash Algorithms.";
        }
        enum "shake-128" {
          value 6;
          description
            "The SHA3 algorithm with 128-bits output.";
          reference
            "National Institute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
        enum "shake-224" {
          value 7;
          description
            "The SHA3 algorithm with 224-bits output.";
          reference
            "National Institute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
        enum "shake-256" {
          value 8;
          description
            "The SHA3 algorithm with 256-bits output.";
          reference
            "National I

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nstitute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
        enum "shake-384" {
          value 9;
          description
            "The SHA3 algorithm with 384-bits output.";
          reference
            "National Institute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
        enum "shake-512" {
          value 10;
          description
            "The SHA3 algorithm with 384-bits output.";
          reference
            "National Institute of Standards and Technology,
             SHA-3 Standard: Permutation-Based Hash and
             Extendable-Output Functions, FIPS PUB 202, DOI
             10.6028/NIST.FIPS.202, August 2015.";
        }
      }
    }
    default "0";
    descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
      "The uint16 filed shall be set by individual protocol families
       according to the hash algorithm value assigned by IANA. The
       setting is optional and by default is 0.  The enumeration
       filed is set to the selected hash algorithm.";
  }

  typedef asymmetric-key-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Asymetric key algorithm is NULL.";
        }
        enum "rsa1024" {
          value 1;
          description
            "The RSA algorithm using a 1024-bit key.";
          reference
            "RFC 8017: PKCS #1: RSA Cryptography
             Specifications Version 2.2.";
        }
        enum "rsa2048" {
          value 2;
          description
            "The RSA algorithm using a 2048-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "rsa3072" {
          value 3;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
description
            "The RSA algorithm using a 3072-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "rsa4096" {
          value 4;
          description
            "The RSA algorithm using a 4096-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "rsa7680" {
          value 5;
          description
            "The RSA algorithm using a 7680-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "rsa15360" {
          value 6;
          description
            "The RSA algorithm using a 15360-bit key.";
          reference
            "RFC 8017:
             PKCS #1: RSA Cryptography Specifications Version 2.2.";
        }
        enum "secp192r1" {
          value 7;
          description
            "The asymmetric algorith

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
m using a NIST P192 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
                Elliptic Curve Cryptography Subject Public Key
                Information.";
        }
        enum "secp224r1" {
          value 8;
          description
            "The asymmetric algorithm using a NIST P224 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
               Elliptic Curve Cryptography Subject Public Key
               Information.";
        }
        enum "secp256r1" {
          value 9;
          description
            "The asymmetric algorithm using a NIST P256 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
               Elliptic Curve Cryptography Subject Public Key
               Information.";
        }
        enum "secp384r

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
1" {
          value 10;
          description
            "The asymmetric algorithm using a NIST P384 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
               Elliptic Curve Cryptography Subject Public Key
               Information.";
        }
        enum "secp521r1" {
          value 11;
          description
            "The asymmetric algorithm using a NIST P521 Curve.";
          reference
            "RFC 6090:
               Fundamental Elliptic Curve Cryptography Algorithms.
             RFC 5480:
               Elliptic Curve Cryptography Subject Public Key
               Information.";
        }
        enum "x25519" {
          value 12;
          description
            "The asymmetric algorithm using a x.25519 Curve.";
          reference
            "RFC 7748:
               Elliptic Curves for Security.";
        }
        enum "x448" {
          value 13;
          description
            "Th

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e asymmetric algorithm using a x.448 Curve.";
          reference
            "RFC 7748:
               Elliptic Curves for Security.";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the asymmetric key algorithm value
       assigned by IANA. The setting is optional and by default
       is 0.  The enumeration filed is set to the selected
       asymmetric key algorithm.";
  }

  typedef mac-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "mac algorithm is NULL.";
        }
        enum "hmac-sha1" {
          value 1;
          description
            "Generating MAC using SHA1 hash function";
          reference
            "RFC 3174: US Secure Hash Algorithm 1 (SHA1)";
        }
        enum "hmac-sha1-96" {
          value 2;
          description
            "Generating MAC using SHA1 hash function";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    reference
            "RFC 2404: The Use of HMAC-SHA-1-96 within ESP and AH";
        }
        enum "hmac-sha2-224" {
          value 3;
          description
            "Generating MAC using SHA2 hash function";
          reference
            "RFC 6234: US Secure Hash Algorithms
             (SHA and SHA-based HMAC and HKDF)";
        }
        enum "hmac-sha2-256" {
          value 4;
          description
            "Generating MAC using SHA2 hash function";
          reference
            "RFC 6234: US Secure Hash Algorithms
             (SHA and SHA-based HMAC and HKDF)";
        }
        enum "hmac-sha2-256-128" {
          value 5;
          description
            "Generating a 256 bits MAC using SHA2 hash function and
             truncate it to 128 bits";
          reference
            "RFC 4868: Using HMAC-SHA-256, HMAC-SHA-384,
             and HMAC-SHA-512 with IPsec";
        }
        enum "hmac-sha2-384" {
          value 6;
          description
            "Generating a 384 bits MA

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
C using SHA2 hash function";
          reference
            "RFC 6234: US Secure Hash Algorithms
             (SHA and SHA-based HMAC and HKDF)";
        }
        enum "hmac-sha2-384-192" {
          value 7;
          description
            "Generating a 384 bits MAC using SHA2 hash function and
             truncate it to 192 bits";
          reference
            "RFC 4868: Using HMAC-SHA-256, HMAC-SHA-384,
             and HMAC-SHA-512 with IPsec";
        }
        enum "hmac-sha2-512" {
          value 8;
          description
            "Generating a 512 bits MAC using SHA2 hash function";
          reference
            "RFC 6234: US Secure Hash Algorithms
             (SHA and SHA-based HMAC and HKDF)";
        }
        enum "hmac-sha2-512-256" {
          value 9;
          description
            "Generating a 512 bits MAC using SHA2 hash function and
             truncate it to 256 bits";
          reference
            "RFC 4868: Using HMAC-SHA-256, HMAC-SHA-384,
             and HMAC-SHA-51

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
2 with IPsec";
        }
        enum "aes-128-gmac" {
          value 10;
          description
            "Generating 128-bit MAC using the Advanced Encryption
             Standard (AES) Galois Message Authentication Code
             (GMAC) as a mechanism to provide data origin
             authentication.";
          reference
            "RFC 4543:
               The Use of Galois Message Authentication Code (GMAC)
               in IPsec ESP and AH";
        }
        enum "aes-192-gmac" {
          value 11;
          description
            "Generating 192-bit MAC using the Advanced Encryption
             Standard (AES) Galois Message Authentication Code
             (GMAC) as a mechanism to provide data origin
             authentication.";
          reference
            "RFC 4543:
               The Use of Galois Message Authentication Code (GMAC)
               in IPsec ESP and AH";
        }
        enum "aes-256-gmac" {
          value 12;
          description
            "Generating 256-bit

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 MAC using the Advanced Encryption
             Standard (AES) Galois Message Authentication Code
             (GMAC) as a mechanism to provide data origin
             authentication.";
          reference
            "RFC 4543:
               The Use of Galois Message Authentication Code (GMAC)
               in IPsec ESP and AH";
        }
        enum "aes-cmac-96" {
          value 13;
          description
            "Generating 96-bit MAC using Advanced Encryption
             Standard (AES) Cipher-based Message Authentication
             Code (CMAC)";
          reference
            "RFC 4494:
               The AES-CMAC Algorithm and its Use with IPsec";
        }
        enum "aes-cmac-128" {
          value 14;
          description
            "Generating 128-bit MAC using Advanced Encryption
             Standard (AES) Cipher-based Message Authentication
             Code (CMAC)";
          reference
            "RFC 4494:
               The AES-CMAC Algorithm and its Use with IPsec";
        }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

        enum "sha1-des3-kd" {
          value 15;
          description
            "Generating MAC using triple DES encryption function";
          reference
            "RFC 3961:
               Encryption and Checksum Specifications for Kerberos
               5";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the mac algorithm value assigned by
       IANA. The setting is optional and by default is 0.  The
       enumeration filed is set to the selected mac algorithm.";
  }

  typedef encryption-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Encryption algorithm is NULL.";
        }
        enum "aes-128-cbc" {
          value 1;
          description
            "Encrypt message with AES algorithm in CBC mode with
             a key length of 128 bits.";
          reference
            "RFC 3565: Use of

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
the Advanced Encryption Standard (AES)
             Encryption Algorithm in Cryptographic Message Syntax
             (CMS)";
        }
        enum "aes-192-cbc" {
          value 2;
          description
            "Encrypt message with AES algorithm in CBC mode with
             a key length of 192 bits";
          reference
            "RFC 3565: Use of the Advanced Encryption Standard (AES)
             Encryption Algorithm in Cryptographic Message Syntax
             (CMS)";
        }
        enum "aes-256-cbc" {
          value 3;
          description
            "Encrypt message with AES algorithm in CBC mode with
             a key length of 256 bits";
          reference
            "RFC 3565: Use of the Advanced Encryption Standard (AES)
             Encryption Algorithm in Cryptographic Message Syntax
             (CMS)";
        }
        enum "aes-128-ctr" {
          value 4;
          description
            "Encrypt message with AES algorithm in CTR mode with
             a key length of 12

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
8 bits";
          reference
            "RFC 3686:
               Using Advanced Encryption Standard (AES) Counter
               Mode with IPsec Encapsulating Security Payload
               (ESP)";
        }
        enum "aes-192-ctr" {
          value 5;
          description
            "Encrypt message with AES algorithm in CTR mode with
             a key length of 192 bits";
          reference
            "RFC 3686:
               Using Advanced Encryption Standard (AES) Counter
               Mode with IPsec Encapsulating Security Payload
               (ESP)";
        }
        enum "aes-256-ctr" {
          value 6;
          description
            "Encrypt message with AES algorithm in CTR mode with
             a key length of 256 bits";
          reference
            "RFC 3686:
               Using Advanced Encryption Standard (AES) Counter
               Mode with IPsec Encapsulating Security Payload
               (ESP)";
        }
        enum "des3-cbc-sha1-kd" {
          value 7;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    description
            "Encrypt message with 3DES algorithm in CBC mode
             with sha1 function for key derivation";
          reference
            "RFC 3961:
               Encryption and Checksum Specifications for
               Kerberos 5";
        }
        enum "rc4-hmac" {
          value 8;
          description
            "Encrypt message with rc4 algorithm";
          reference
            "RFC 4757:
               The RC4-HMAC Kerberos Encryption Types Used by
               Microsoft Windows";
        }
        enum "rc4-hmac-exp" {
          value 9;
          description
            "Encrypt message with rc4 algorithm that is exportable";
          reference
            "RFC 4757:
               The RC4-HMAC Kerberos Encryption Types Used by
               Microsoft Windows";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the encryption algorithm value
       assigned by IANA. The se

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tting is optional and by default
       is 0.  The enumeration filed is set to the selected
       encryption algorithm.";
  }

  typedef encryption-and-mac-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Encryption and MAC algorithm is NULL.";
          reference
            "None";
        }
        enum "aes-128-ccm" {
          value 1;
          description
            "Encrypt message with AES algorithm in CCM
             mode with a key length of 128 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4309: Using Advanced Encryption Standard
             (AES) CCM Mode with IPsec Encapsulating Security
             Payload (ESP)";
        }
        enum "aes-192-ccm" {
          value 2;
          description
            "Encrypt message with AES algorithm in CCM
             mode with a key length of 192 bits; it can
             also be used for generati

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ng MAC";
          reference
            "RFC 4309: Using Advanced Encryption Standard
             (AES) CCM Mode with IPsec Encapsulating Security
             Payload (ESP)";
        }
        enum "aes-256-ccm" {
          value 3;
          description
            "Encrypt message with AES algorithm in CCM
             mode with a key length of 256 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4309: Using Advanced Encryption Standard
             (AES) CCM Mode with IPsec Encapsulating Security
             Payload (ESP)";
        }
        enum "aes-128-gcm" {
          value 4;
          description
            "Encrypt message with AES algorithm in GCM
             mode with a key length of 128 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4106: The Use of Galois/Counter Mode (GCM)
             in IPsec Encapsulating Security Payload (ESP)";
        }
        enum "aes-192-gcm" {
          value 5;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
        description
            "Encrypt message with AES algorithm in GCM
             mode with a key length of 192 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4106: The Use of Galois/Counter Mode (GCM)
             in IPsec Encapsulating Security Payload (ESP)";
        }
        enum "aes-256-gcm" {
          value 6;
          description
            "Encrypt message with AES algorithm in GCM
             mode with a key length of 256 bits; it can
             also be used for generating MAC";
          reference
            "RFC 4106: The Use of Galois/Counter Mode (GCM)
             in IPsec Encapsulating Security Payload (ESP)";
        }
        enum "chacha20-poly1305" {
          value 7;
          description
            "Encrypt message with chacha20 algorithm and generate
             MAC with POLY1305; it can also be used for generating
             MAC";
          reference
            "RFC 8439: ChaCha20 and Poly1305 for IETF Protocols";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the encryption and mac algorithm value
       assigned by IANA. The setting is optional and by default is
       0.  The enumeration filed is set to the selected encryption
       and mac algorithm.";
  }

  typedef signature-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Signature algorithm is NULL";
        }
        enum "dsa-sha1" {
          value 1;
          description
            "The signature algorithm using DSA algorithm with SHA1
             hash algorithm";
          reference
            "RFC 4253:
               The Secure Shell (SSH) Transport Layer Protocol";
        }
        enum "rsassa-pkcs1-sha1" {
          value 2;
          description
            "The signature algorithm using RSASSA-PKCS1-v1_5 with
             the SHA1 hash algorithm.";

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

          reference
            "RFC 4253:
               The Secure Shell (SSH) Transport Layer Protocol";
        }
        enum "rsassa-pkcs1-sha256" {
          value 3;
          description
            "The signature algorithm using RSASSA-PKCS1-v1_5 with
             the SHA256 hash algorithm.";
          reference
            "RFC 8332:
               Use of RSA Keys with SHA-256 and SHA-512 in the
               Secure Shell (SSH) Protocol
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pkcs1-sha384" {
          value 4;
          description
            "The signature algorithm using RSASSA-PKCS1-v1_5 with
             the SHA384 hash algorithm.";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pkcs1-sha512" {
          value 5;
          description
            "The signature algorithm using R

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
SASSA-PKCS1-v1_5 with
             the SHA512 hash algorithm.";
          reference
            "RFC 8332:
               Use of RSA Keys with SHA-256 and SHA-512 in the
               Secure Shell (SSH) Protocol
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-rsae-sha256" {
          value 6;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA256 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-rsae-sha384" {
          value 7;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA384 hash algorithm. If
             the

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-rsae-sha512" {
          value 8;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA512 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-pss-sha256" {
          value 9;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA256 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-pss-sha384" {
          value 10;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA384 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "rsassa-pss-pss-sha512" {
          value 11;
          description
            "The signature algorithm using RSASSA-PSS with mask
             generation function 1 and SHA512 hash algorithm. If
             the public key is carried in an X.509 certificate,
             it MUST use the rsaEncryption OID";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Pro

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tocol
               Version 1.3";
        }
        enum "ecdsa-secp256r1-sha256" {
          value 12;
          description
            "The signature algorithm using ECDSA with curve name
             secp256r1 and SHA256 hash algorithm.";
          reference
            "RFC 5656:
               Elliptic Curve Algorithm Integration in the Secure
               Shell Transport Layer
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "ecdsa-secp384r1-sha384" {
          value 13;
          description
            "The signature algorithm using ECDSA with curve name
             secp384r1 and SHA384 hash algorithm.";
          reference
            "RFC 5656:
               Elliptic Curve Algorithm Integration in the Secure
               Shell Transport Layer
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "ecdsa-secp521r1-sha512" {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   value 14;
          description
            "The signature algorithm using ECDSA with curve name
             secp521r1 and SHA512 hash algorithm.";
          reference
            "RFC 5656:
               Elliptic Curve Algorithm Integration in the Secure
               Shell Transport Layer
             RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "ed25519" {
          value 15;
          description
            "The signature algorithm using EdDSA with curve x25519";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed25519-cts" {
          value 16;
          description
            "The signature algorithm using EdDSA with curve x25519
             with phflag = 0";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed25519-ph" {
          value 17;
          de

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
scription
            "The signature algorithm using EdDSA with curve x25519
             with phflag = 1";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed25519-sha512" {
          value 18;
          description
            "The signature algorithm using EdDSA with curve x25519
             and SHA-512 function";
          reference
            "RFC 8419:
               Use of Edwards-Curve Digital Signature Algorithm
               (EdDSA) Signatures in the Cryptographic Message
               Syntax (CMS)";
        }
        enum "ed448" {
          value 19;
          description
            "The signature algorithm using EdDSA with curve x448";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed448-ph" {
          value 20;
          description
            "The signature algorithm using EdDSA with curve x448
             and with PH

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 being SHAKE256(x, 64) and phflag being 1";
          reference
            "RFC 8032:
               Edwards-Curve Digital Signature Algorithm (EdDSA)";
        }
        enum "ed448-shake256" {
          value 21;
          description
            "The signature algorithm using EdDSA with curve x448
             and SHAKE-256 function";
          reference
            "RFC 8419:
               Use of Edwards-Curve Digital Signature Algorithm
               (EdDSA) Signatures in the Cryptographic Message
               Syntax (CMS)";
        }
        enum "ed448-shake256-len" {
          value 22;
          description
            "The signature algorithm using EdDSA with curve x448
             and SHAKE-256 function and a customized hash output";
          reference
            "RFC 8419:
               Use of Edwards-Curve Digital Signature Algorithm
               (EdDSA) Signatures in the Cryptographic Message
               Syntax (CMS)";
        }
        enum "rsa-sha2-256" {
          value 23;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       description
            "The signature algorithm using RSA with SHA2 function
             for SSH protocol";
          reference
            "RFC 8332:
             Use of RSA Keys with SHA-256 and SHA-512
             in the Secure Shell (SSH) Protocol";
        }
        enum "rsa-sha2-512" {
          value 24;
          description
            "The signature algorithm using RSA with SHA2 function
             for SSH protocol";
          reference
            "RFC 8332:
             Use of RSA Keys with SHA-256 and SHA-512
             in the Secure Shell (SSH) Protocol";
        }
        enum "eccsi" {
          value 25;
          description
            "The signature algorithm using ECCSI signature as
             defined in RFC 6507.";
          reference
            "RFC 6507:
               Elliptic Curve-Based Certificateless Signatures
               for Identity-based Encryption (ECCSI)";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by in

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
dividual protocol
       families according to the signature algorithm value
       assigned by IANA. The setting is optional and by default
       is 0.  The enumeration filed is set to the selected
       signature algorithm.";
  }

  typedef key-exchange-algorithm-t {
    type union {
      type uint16;
      type enumeration {
        enum "NONE" {
          value 0;
          description
            "Key exchange algorithm is NULL.";
        }
        enum "psk-only" {
          value 1;
          description
            "Using Pre-shared key for authentication and key
             exchange";
          reference
            "RFC 4279:
               Pre-Shared Key cipher suites for Transport Layer
               Security (TLS)";
        }
        enum "dhe-ffdhe2048" {
          value 2;
          description
            "Ephemeral Diffie Hellman key exchange with 2048 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellman Ephemera

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
l
               Parameters for Transport Layer Security (TLS)";
        }
        enum "dhe-ffdhe3072" {
          value 3;
          description
            "Ephemeral Diffie Hellman key exchange with 3072 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellman Ephemeral
               Parameters for Transport Layer Security (TLS)";
        }
        enum "dhe-ffdhe4096" {
          value 4;
          description
            "Ephemeral Diffie Hellman key exchange with 4096 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellman Ephemeral
               Parameters for Transport Layer Security (TLS)";
        }
        enum "dhe-ffdhe6144" {
          value 5;
          description
            "Ephemeral Diffie Hellman key exchange with 6144 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellm

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
an Ephemeral
               Parameters for Transport Layer Security (TLS)";
        }
        enum "dhe-ffdhe8192" {
          value 6;
          description
            "Ephemeral Diffie Hellman key exchange with 8192 bit
             finite field";
          reference
            "RFC 7919:
               Negotiated Finite Field Diffie-Hellman Ephemeral
               Parameters for Transport Layer Security (TLS)";
        }
        enum "psk-dhe-ffdhe2048" {
          value 7;
          description
            "Key exchange using pre-shared key with Diffie-Hellman
             key generation mechanism, where the DH group is
             FFDHE2048";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-dhe-ffdhe3072" {
          value 8;
          description
            "Key exchange using pre-shared key with Diffie-Hellman
             key generation mechanism, where the DH group is
             FFDHE3

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
072";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-dhe-ffdhe4096" {
          value 9;
          description
            "Key exchange using pre-shared key with Diffie-Hellman
             key generation mechanism, where the DH group is
             FFDHE4096";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-dhe-ffdhe6144" {
          value 10;
          description
            "Key exchange using pre-shared key with Diffie-Hellman
             key generation mechanism, where the DH group is
             FFDHE6144";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-dhe-ffdhe8192" {
          value 11;
          description
            "Key exchange using pre-shared key with Diffie-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Hellman
             key generation mechanism, where the DH group is
             FFDHE8192";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "ecdhe-secp256r1" {
          value 12;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve secp256r1";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        enum "ecdhe-secp384r1" {
          value 13;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve secp384r1";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        e

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
num "ecdhe-secp521r1" {
          value 14;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve secp521r1";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        enum "ecdhe-x25519" {
          value 15;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve x25519";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        enum "ecdhe-x448" {
          value 16;
          description
            "Ephemeral Diffie Hellman key exchange with elliptic
             group over curve x448";
          reference
            "RFC 8422:
               Elliptic Curve Cryptography (

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ECC) Cipher Suites
               for Transport Layer Security (TLS) Versions 1.2
               and Earlier";
        }
        enum "psk-ecdhe-secp256r1" {
          value 17;
          description
            "Key exchange using pre-shared key with elliptic
             group-based Ephemeral Diffie Hellman key exchange
             over curve secp256r1";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-ecdhe-secp384r1" {
          value 18;
          description
            "Key exchange using pre-shared key with elliptic
             group-based Ephemeral Diffie Hellman key exchange
             over curve secp384r1";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-ecdhe-secp521r1" {
          value 19;
          description
            "Key exchange using pre-shared key with elliptic


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          group-based Ephemeral Diffie Hellman key exchange
             over curve secp521r1";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-ecdhe-x25519" {
          value 20;
          description
            "Key exchange using pre-shared key with elliptic
             group-based Ephemeral Diffie Hellman key exchange
             over curve x25519";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "psk-ecdhe-x448" {
          value 21;
          description
            "Key exchange using pre-shared key with elliptic
             group-based Ephemeral Diffie Hellman key exchange
             over curve x448";
          reference
            "RFC 8446:
               The Transport Layer Security (TLS) Protocol
               Version 1.3";
        }
        enum "diffie-hellman-group14-sha1"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
{
          value 22;
          description
            "Using DH group14 and SHA1 for key exchange";
          reference
            "RFC 4253:
               The Secure Shell (SSH) Transport Layer Protocol";
        }
        enum "diffie-hellman-group14-sha256" {
          value 23;
          description
            "Using DH group14 and SHA-256 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "diffie-hellman-group15-sha512" {
          value 24;
          description
            "Using DH group15 and SHA-512 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "diffie-hellman-group16-sha512" {
          value 25;
          description
            "Using DH group16 and SHA-512

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "diffie-hellman-group17-sha512" {
          value 26;
          description
            "Using DH group17 and SHA-512 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "diffie-hellman-group18-sha512" {
          value 27;
          description
            "Using DH group18 and SHA-512 for key exchange";
          reference
            "RFC 8268:
              More Modular Exponentiation (MODP) Diffie-Hellman (DH)
              Key Exchange (KEX) Groups for Secure Shell (SSH)";
        }
        enum "ecdh-sha2-secp256r1" {
          value 28;
          description
            "Elliptic curve-based Diffie Hellman key exchange ov

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
er
             curve ecp256r1 and using SHA2 for MAC generation";
          reference
            "RFC 6239:
               Suite B Cryptographic Suites for Secure Shell (SSH)";
        }
        enum "ecdh-sha2-secp384r1" {
          value 29;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve ecp384r1 and using SHA2 for MAC generation";
          reference
            "RFC 6239:
               Suite B Cryptographic Suites for Secure Shell (SSH)";
        }
        enum "ecdh-x25519-x9.63-sha256" {
          value 30;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using ANSI x9.63 with SHA256 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-x9.63-sha384" {
          val

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ue 31;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using ANSI x9.63 with SHA384 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-x9.63-sha512" {
          value 32;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using ANSI x9.63 with SHA512 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-hkdf-sha256" {
          value 33;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and us

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ing HKDF with SHA256 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-hkdf-sha384" {
          value 34;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using HKDF with SHA384 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x25519-hkdf-sha512" {
          value 35;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.25519 and using HKDF with SHA512 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-x9.63-sha256" {
          value 36;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using ANSI x9.63 with SHA256 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-x9.63-sha384" {
          value 37;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using ANSI x9.63 with SHA384 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
448-x9.63-sha512" {
          value 38;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using ANSI x9.63 with SHA512 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-hkdf-sha256" {
          value 39;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using HKDF with SHA256 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-hkdf-sha384" {
          value 40;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             cu

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rve x.448 and using HKDF with SHA384 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "ecdh-x448-hkdf-sha512" {
          value 41;
          description
            "Elliptic curve-based Diffie Hellman key exchange over
             curve x.448 and using HKDF with SHA512 as KDF";
          reference
            "RFC 8418:
               Use of the Elliptic Curve Diffie-Hellman Key Agreement
               Algorithm with X25519 and X448 in the Cryptographic
               Message Syntax (CMS)";
        }
        enum "rsaes-oaep" {
          value 42;
          description
            "RSAES-OAEP combines the RSAEP and RSADP primitives with
             the EME-OAEP encoding method";
          reference
            "RFC 8017:
               PKCS #1:
                 RSA Cryptography Specifications Version 2.2.";

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

        }
        enum "rsaes-pkcs1-v1_5" {
          value 43;
          description
            "RSAES-PKCS1-v1_5 combines the RSAEP and RSADP
             primitives with the EME-PKCS1-v1_5 encoding method";
          reference
            "RFC 8017:
               PKCS #1:
                 RSA Cryptography Specifications Version 2.2.";
        }
      }
    }
    default "0";
    description
      "The uint16 filed shall be set by individual protocol
       families according to the key exchange algorithm value
       assigned by IANA. The setting is optional and by default
       is 0.  The enumeration filed is set to the selected key
       exchange algorithm.";
  }

  typedef x509 {
    type binary;
    description
      "A Certificate structure, as specified in RFC 5280,
       encoded using ASN.1 distinguished encoding rules (DER),
       as specified in ITU-T X.690.";
    reference
      "RFC 5280:
         Internet X.509 Public Key Infrastructure Certificate
         and Certificate Revocation Lis

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t (CRL) Profile
       ITU-T X.690:
         Information technology - ASN.1 encoding rules:
         Specification of Basic Encoding Rules (BER),
         Canonical Encoding Rules (CER) and Distinguished
         Encoding Rules (DER).";
  }

  typedef crl {
    type binary;
    description
      "A CertificateList structure, as specified in RFC 5280,
       encoded using ASN.1 distinguished encoding rules (DER),
       as specified in ITU-T X.690.";
    reference
      "RFC 5280:
         Internet X.509 Public Key Infrastructure Certificate
         and Certificate Revocation List (CRL) Profile
       ITU-T X.690:
         Information technology - ASN.1 encoding rules:
         Specification of Basic Encoding Rules (BER),
         Canonical Encoding Rules (CER) and Distinguished
         Encoding Rules (DER).";
  }

  typedef cms {
    type binary;
    description
      "A ContentInfo structure, as specified in RFC 5652,
       encoded using ASN.1 distinguished encoding rules (DER),
       as specified in ITU

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
-T X.690.";
    reference
      "RFC 5652:
         Cryptographic Message Syntax (CMS)
       ITU-T X.690:
         Information technology - ASN.1 encoding rules:
         Specification of Basic Encoding Rules (BER),
         Canonical Encoding Rules (CER) and Distinguished
         Encoding Rules (DER).";
  }

  typedef data-content-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       data content type, as described by Section 4 in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef signed-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       signed-data content type, as described by Section 5 in
       RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef enveloped-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       enveloped-data content type, as described b

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
y Section 6
       in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef digested-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       digested-data content type, as described by Section 7
       in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef encrypted-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       encrypted-data content type, as described by Section 8
       in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef authenticated-data-cms {
    type cms;
    description
      "A CMS structure whose top-most content type MUST be the
       authenticated-data content type, as described by Section 9
       in RFC 5652.";
    reference
      "RFC 5652: Cryptographic Message Syntax (CMS)";
  }

  typedef ssh-host-key {
    type binary;
    description
      "The

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 binary public key data for this SSH key, as
       specified by RFC 4253, Section 6.6, i.e.:

         string    certificate or public key format
                   identifier
         byte[n]   key/certificate data.";
    reference
      "RFC 4253: The Secure Shell (SSH) Transport Layer
                 Protocol";
  }

  typedef trust-anchor-cert-x509 {
    type x509;
    description
      "A Certificate structure that MUST encode a self-signed
       root certificate.";
  }

  typedef end-entity-cert-x509 {
    type x509;
    description
      "A Certificate structure that MUST encode a certificate
       that is neither self-signed nor having Basic constraint
       CA true.";
  }

  typedef trust-anchor-cert-cms {
    type signed-data-cms;
    description
      "A CMS SignedData structure that MUST contain the chain of
       X.509 certificates needed to authenticate the certificate
       presented by a client or end-entity.

       The CMS MUST contain only a single chain of certificates.
       The cl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ient or end-entity certificate MUST only authenticate
       to last intermediate CA certificate listed in the chain.

       In all cases, the chain MUST include a self-signed root
       certificate.  In the case where the root certificate is
       itself the issuer of the client or end-entity certificate,
       only one certificate is present.

       This CMS structure MAY (as applicable where this type is
       used) also contain suitably fresh (as defined by local
       policy) revocation objects with which the device can
       verify the revocation status of the certificates.

       This CMS encodes the degenerate form of the SignedData
       structure that is commonly used to disseminate X.509
       certificates and revocation objects (RFC 5280).";
    reference
      "RFC 5280:
         Internet X.509 Public Key Infrastructure Certificate
         and Certificate Revocation List (CRL) Profile.";
  }

  typedef end-entity-cert-cms {
    type signed-data-cms;
    description
      "A CMS Signed

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Data structure that MUST contain the end
       entity certificate itself, and MAY contain any number
       of intermediate certificates leading up to a trust
       anchor certificate.  The trust anchor certificate
       MAY be included as well.

       The CMS MUST contain a single end entity certificate.
       The CMS MUST NOT contain any spurious certificates.

       This CMS structure MAY (as applicable where this type is
       used) also contain suitably fresh (as defined by local
       policy) revocation objects with which the device can
       verify the revocation status of the certificates.

       This CMS encodes the degenerate form of the SignedData
       structure that is commonly used to disseminate X.509
       certificates and revocation objects (RFC 5280).";
    reference
      "RFC 5280:
         Internet X.509 Public Key Infrastructure Certificate
         and Certificate Revocation List (CRL) Profile.";
  }

  grouping symmetric-key-grouping {
    description
      "A symmetric key

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 and algorithm.";
    leaf algorithm {
      type encryption-algorithm-t;
      mandatory true;
      description
        "The algorithm to be used when generating the key.";
      reference
        "RFC CCCC: Common YANG Data Types for Cryptography";
    }

    choice key-type {
      mandatory true;
      description
        "Choice between key types.";
      leaf key {
        nacm:default-deny-all;
        type binary;
        description
          "The binary value of the key.  The interpretation of
           the value is defined by 'algorithm'.  For example,
           FIXME.";
        reference
          "RFC XXXX: FIXME";
      }

      leaf hidden-key {
        nacm:default-deny-write;
        type empty;
        description
          "A permanently hidden key.  How such keys are created
           is outside the scope of this module.";
      }
    }
  }

  grouping public-key-grouping {
    description
      "A public key and its associated algorithm.";
    leaf algorithm {
      nacm:default-deny-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
write;
      type asymmetric-key-algorithm-t;
      mandatory true;
      description
        "Identifies the key's algorithm.";
      reference
        "RFC CCCC: Common YANG Data Types for Cryptography";
    }

    leaf public-key {
      nacm:default-deny-write;
      type binary;
      mandatory true;
      description
        "The binary value of the public key.  The interpretation
         of the value is defined by 'algorithm'.  For example,
         a DSA key is an integer, an RSA key is represented as
         RSAPublicKey per RFC 8017, and an ECC key is represented
         using the 'publicKey' described in RFC 5915.";
      reference
        "RFC 8017: Public-Key Cryptography Standards (PKCS) #1:
                   RSA Cryptography Specifications Version 2.2.
         RFC 5915: Elliptic Curve Private Key Structure.";
    }
  }

  grouping asymmetric-key-pair-grouping {
    description
      "A private key and its associated public key and algorithm.";
    uses public-key-grouping;

    choice priv

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ate-key-type {
      mandatory true;
      description
        "Choice between key types.";
      leaf private-key {
        nacm:default-deny-all;
        type binary;
        description
          "The value of the binary key.  The key's value is
           interpreted by the 'algorithm'.  For example, a DSA key
           is an integer, an RSA key is represented as RSAPrivateKey
           as defined in RFC 8017, and an ECC key is represented as
           ECPrivateKey as defined in RFC 5915.";
        reference
          "RFC 8017: Public-Key Cryptography Standards (PKCS) #1:
                     RSA Cryptography Specifications Version 2.2.
           RFC 5915: Elliptic Curve Private Key Structure.";
      }

      leaf hidden-private-key {
        nacm:default-deny-write;
        type empty;
        description
          "A permanently hidden key.  How such keys are created
           is outside the scope of this module.";
      }
    }
  }

  grouping trust-anchor-cert-grouping {
    description
      "

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
A trust anchor certificate, and a notification for when
       it is about to (or already has) expire.";
    leaf cert {
      nacm:default-deny-write;
      type trust-anchor-cert-cms;
      description
        "The binary certificate data for this certificate.";
      reference
        "RFC YYYY: Common YANG Data Types for Cryptography";
    }

    notification certificate-expiration {
      description
        "A notification indicating that the configured certificate
         is either about to expire or has already expired.  When to
         send notifications is an implementation specific decision,
         but it is RECOMMENDED that a notification be sent once a
         month for 3 months, then once a week for four weeks, and
         then once a day thereafter until the issue is resolved.";
      leaf expiration-date {
        type yang:date-and-time;
        mandatory true;
        description
          "Identifies the expiration date on the certificate.";
      }
    }
  }

  grouping trust-anchor-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
certs-grouping {
    description
      "A list of trust anchor certificates, and a notification
       for when one is about to (or already has) expire.";
    leaf-list cert {
      nacm:default-deny-write;
      type trust-anchor-cert-cms;
      description
        "The binary certificate data for this certificate.";
      reference
        "RFC YYYY: Common YANG Data Types for Cryptography";
    }

    notification certificate-expiration {
      description
        "A notification indicating that the configured certificate
         is either about to expire or has already expired.  When to
         send notifications is an implementation specific decision,
         but it is RECOMMENDED that a notification be sent once a
         month for 3 months, then once a week for four weeks, and
         then once a day thereafter until the issue is resolved.";
      leaf expiration-date {
        type yang:date-and-time;
        mandatory true;
        description
          "Identifies the expiration date on the cer

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tificate.";
      }
    }
  }

  grouping end-entity-cert-grouping {
    description
      "An end entity certificate, and a notification for when
       it is about to (or already has) expire.  Implementations
       SHOULD assert that, where used, the end entity certificate
       contains the expected public key.";
    leaf cert {
      nacm:default-deny-write;
      type end-entity-cert-cms;
      description
        "The binary certificate data for this certificate.";
      reference
        "RFC YYYY: Common YANG Data Types for Cryptography";
    }

    notification certificate-expiration {
      description
        "A notification indicating that the configured certificate
         is either about to expire or has already expired.  When to
         send notifications is an implementation specific decision,
         but it is RECOMMENDED that a notification be sent once a
         month for 3 months, then once a week for four weeks, and
         then once a day thereafter until the issue is resolved.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      leaf expiration-date {
        type yang:date-and-time;
        mandatory true;
        description
          "Identifies the expiration date on the certificate.";
      }
    }
  }

  grouping end-entity-certs-grouping {
    description
      "A list of end entity certificates, and a notification for
       when one is about to (or already has) expire.";
    leaf-list cert {
      nacm:default-deny-write;
      type end-entity-cert-cms;
      description
        "The binary certificate data for this certificate.";
      reference
        "RFC YYYY: Common YANG Data Types for Cryptography";
    }

    notification certificate-expiration {
      description
        "A notification indicating that the configured certificate
         is either about to expire or has already expired.  When to
         send notifications is an implementation specific decision,
         but it is RECOMMENDED that a notification be sent once a
         month for 3 months, then once a week for four weeks, and
         then once

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 a day thereafter until the issue is resolved.";
      leaf expiration-date {
        type yang:date-and-time;
        mandatory true;
        description
          "Identifies the expiration date on the certificate.";
      }
    }
  }

  grouping asymmetric-key-pair-with-cert-grouping {
    description
      "A private/public key pair and an associated certificate.
       Implementations SHOULD assert that certificates contain
       the matching public key.";
    uses asymmetric-key-pair-grouping;

    uses end-entity-cert-grouping;

    action generate-certificate-signing-request {
      nacm:default-deny-all;
      description
        "Generates a certificate signing request structure for
         the associated asymmetric key using the passed subject
         and attribute values.  The specified assertions need
         to be appropriate for the certificate's use.  For
         example, an entity certificate for a TLS server
         SHOULD have values that enable clients to satisfy
         RFC 6125 pr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ocessing.";
      input {
        leaf subject {
          type binary;
          mandatory true;
          description
            "The 'subject' field per the CertificationRequestInfo
              structure as specified by RFC 2986, Section 4.1
              encoded using the ASN.1 distinguished encoding
              rules (DER), as specified in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:
               Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }

        leaf attributes {
          type binary;
          description
            "The 'attributes' field from the structure
             CertificationRequestInfo as specified by RFC 2986,
             Section 4.1 encoded using the ASN.1 disting

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
uished
             encoding rules (DER), as specified in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:
               Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }
      }

      output {
        leaf certificate-signing-request {
          type binary;
          mandatory true;
          description
            "A CertificationRequest structure as specified by
             RFC 2986, Section 4.2 encoded using the ASN.1
             distinguished encoding rules (DER), as specified
             in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }
      }
    }
  }

  grouping asymmetric-key-pair-with-certs-grouping {
    description
      "A private/public key pair and associated certificates.
       Implementations SHOULD assert that certificates contain
       the matching public key.";
    uses asymmetric-key-pair-grouping;

    container certificates {
      nacm:default-deny-write;
      description
        "Certificates associated with this asymmetric key.
         More than one certificate supports, for instance,
         a TPM-protected asymmetric key that has both IDevID
         and LDevID certificates associated.";
      list certificate {
        key "name";
        description
          "A certificate for this asymmetric key.";
        leaf name {
          type string;
          description
            "An arbitrary name

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 for the certificate.  If the name
             matches the name of a certificate that exists
             independently in &lt;operational&gt; (i.e., an IDevID),
             then the 'cert' node MUST NOT be configured.";
        }

        uses end-entity-cert-grouping;
      }
    }

    action generate-certificate-signing-request {
      nacm:default-deny-all;
      description
        "Generates a certificate signing request structure for
         the associated asymmetric key using the passed subject
         and attribute values.  The specified assertions need
         to be appropriate for the certificate's use.  For
         example, an entity certificate for a TLS server
         SHOULD have values that enable clients to satisfy
         RFC 6125 processing.";
      input {
        leaf subject {
          type binary;
          mandatory true;
          description
            "The 'subject' field per the CertificationRequestInfo
              structure as specified by RFC 2986, Section 4.1


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       encoded using the ASN.1 distinguished encoding
              rules (DER), as specified in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:
               Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }

        leaf attributes {
          type binary;
          description
            "The 'attributes' field from the structure
             CertificationRequestInfo as specified by RFC 2986,
             Section 4.1 encoded using the ASN.1 distinguished
             encoding rules (DER), as specified in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:


[INF]: LN: Session 1: sending message:

#1017


[INF]: LN: Session 1: sending message:
        Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }
      }

      output {
        leaf certificate-signing-request {
          type binary;
          mandatory true;
          description
            "A CertificationRequest structure as specified by
             RFC 2986, Section 4.2 encoded using the ASN.1
             distinguished encoding rules (DER), as specified
             in ITU-T X.690.";
          reference
            "RFC 2986:
               PKCS #10: Certification Request Syntax
                         Specification Version 1.7.
             ITU-T X.690:
               Information technology - ASN.1 encoding rules:
               Specification of Basic Encoding Rules (BER),
               Canonical Encoding Rules (CER) and Distinguished
               Encoding Rules (DER).";
        }
      }
    }
  }
}
</data>

[INF]: LN: Session 1: sending message:

#12


[INF]: LN: Session 1: sending message:
</rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="24"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-truststore</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-truststore" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="24"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-truststore {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-truststore";
  prefix ts;

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  import ietf-crypto-types {
    prefix ct;
    reference
      "RFC YYYY: Common YANG Data Types for Cryptography";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;";
  description
    "This module defines a truststore to centralize management
     of trust anchors including both X.509 certificates and
     SSH host keys.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: A YANG Data Model for a Truststore";
  }

  feature truststore-supported {
    descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
      "The 'truststore-supported' feature indicates that the
       server supports the truststore.";
  }

  feature local-definitions-supported {
    description
      "The 'local-definitions-supported' feature indicates that
       the server supports locally-defined trust anchors.";
  }

  feature x509-certificates {
    description
      "The 'x509-certificates' feature indicates that the server
       implements the /truststore/certificates subtree.";
  }

  feature ssh-host-keys {
    description
      "The 'ssh-host-keys' feature indicates that the server
       implements the /truststore/host-keys subtree.";
  }

  typedef certificates-ref {
    type leafref {
      path "/ts:truststore/ts:certificates/ts:name";
    }
    description
      "This typedef enables modules to easily define a reference
       to a set of certificates  defined in the truststore.";
  }

  typedef host-keys-ref {
    type leafref {
      path "/ts:truststore/ts:host-keys/ts:name";
    }
    description
      "This typedef

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
enables modules to easily define a reference
       to a set of host keys defined in the truststore.";
  }

  grouping local-or-truststore-certs-grouping {
    description
      "A grouping that expands to allow trust anchors to be
       either stored locally, within the using data model, or be
       a reference to trust anchors stored in the truststore.";
    choice local-or-truststore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the truststore.";
      case local {
        if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local trust anchor definitions.
             A list is defined so as to be symmetric with the
             truststore definition.";
          uses ct:trust-anchor-certs-grouping;
        }
      }

      case truststore {
        if-feature "truststore-supported";
        if-feature "x509-certificates";
        leaf tr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
uststore-reference {
          type certificates-ref;
          description
            "A reference to a set of trust anchors that exists
             in the truststore.";
        }
      }
    }
  }

  grouping local-or-truststore-host-keys-grouping {
    description
      "A grouping that expands to allow trust anchors to be
       either stored locally, within the using data model, or be
       a reference to trust anchors stored in the truststore.";
    choice local-or-truststore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the truststore.";
      case local {
        if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local trust anchor definitions.
             A list is defined so as to be symmetric with the
             truststore definition.";
          leaf-list host-key {
            nacm:default-deny-write;
            type ct:ss

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
h-host-key;
            description
              "The binary data for this host key.";
            reference
              "RFC YYYY: Common YANG Data Types for Cryptography";
          }

          uses ct:trust-anchor-certs-grouping;
        }
      }

      case truststore {
        if-feature "truststore-supported";
        if-feature "ssh-host-keys";
        leaf truststore-reference {
          type host-keys-ref;
          description
            "A reference to a set of trust anchors that exists
             in the truststore.";
        }
      }
    }
  }

  grouping truststore-grouping {
    description
      "Grouping definition enables use in other contexts.  If ever
       done, implementations SHOULD augment new 'case' statements
       into local-or-keystore 'choice' statements to supply leafrefs
       to the new location.";
    list certificates {
      if-feature "x509-certificates";
      key "name";
      description
        "A list of certificates.  These certificates can be
         use

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d by a server to authenticate clients, or by a client
         to authenticate servers.  Each list of certificates
         SHOULD be specific to a purpose, as the list as a whole
         may be referenced by other modules.  For instance, a
         RESTCONF server's configuration might use a specific list
         of certificates for when authenticating RESTCONF
         client connections.";
      leaf name {
        type string;
        description
          "An arbitrary name for this list of certificates.";
      }

      leaf description {
        type string;
        description
          "An arbitrary description for this list of
           certificates.";
      }

      list certificate {
        key "name";
        description
          "A certificate.";
        leaf name {
          type string;
          description
            "An arbitrary name for this certificate. The
             name must be unique across all lists of
             certificates (not just this list) so that leafrefs


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    from another module can resolve to unique values.";
        }

        uses ct:trust-anchor-cert-grouping {
          refine "cert" {
            mandatory true;
          }
        }
      }
    }

    list host-keys {
      if-feature "ssh-host-keys";
      key "name";
      description
        "A list of host keys.  These host-keys can
         be used by clients to authenticate SSH servers.  Each
         list of host keys SHOULD be specific to a purpose,
         so the list as a whole may be referenced by other modules.
         For instance, a NETCONF client's configuration might
         point to a specific list of host keys for when
         authenticating specific SSH servers.";
      leaf name {
        type string;
        description
          "An arbitrary name for this list of SSH
           host keys.";
      }

      leaf description {
        type string;
        description
          "An arbitrary description for this list of SSH
           host keys.";
      }

      list host-key {


[INF]: LN: Session 1: sending message:

#860


[INF]: LN: Session 1: sending message:
      key "name";
        description
          "A host key.";
        leaf name {
          type string;
          description
            "An arbitrary name for this host-key. Must be
             unique across all lists of host-keys (not just
             this list) so that a leafref to it from another module
             can resolve to unique values.";
        }

        leaf host-key {
          type ct:ssh-host-key;
          mandatory true;
          description
            "The binary public key data for this host key.";
          reference
            "RFC YYYY: Common YANG Data Types for Cryptography";
        }
      }
    }
  }

  container truststore {
    nacm:default-deny-write;
    description
      "The truststore contains sets of X.509 certificates and
       SSH host keys.";
    uses truststore-grouping;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="25"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-tcp-common</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-tcp-common" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="25"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-tcp-common {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-tcp-common";
  prefix tcpcmn;

  organization
    "IETF NETCONF (Network Configuration) Working Group and the
     IETF TCP Maintenance and Minor Extensions (TCPM) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
               &lt;http://datatracker.ietf.org/wg/tcpm/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
               &lt;mailto:tcpm@ietf.org&gt;
     Authors:  Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
               Michael Scharf
               &lt;mailto:michael.scharf@hs-esslingen.de&gt;";
  description
    "This module defines reusable groupings for TCP commons that
     can be used as a basis for specific TCP common instances.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  feature keepalives-s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
upported {
    description
      "Indicates that keepalives are supported.";
  }

  grouping tcp-common-grouping {
    description
      "A reusable grouping for configuring TCP parameters common
       to TCP connections as well as the operating system as a
       whole.";
    container keepalives {
      if-feature "keepalives-supported";
      presence "Indicates that keepalives are enabled.";
      description
        "Configures the keep-alive policy, to proactively test the
         aliveness of the TCP peer.  An unresponsive TCP peer is
         dropped after approximately (idle-time * 60) + (max-probes
         * probe-interval) seconds.";
      leaf idle-time {
        type uint16 {
          range "1..max";
        }
        units "seconds";
        mandatory true;
        description
          "Sets the amount of time after which if no data has been
           received from the TCP peer, a TCP-level probe message
           will be sent to test the aliveness of the TCP peer.";
      }

      leaf m

[INF]: LN: Session 1: sending message:

#751


[INF]: LN: Session 1: sending message:
ax-probes {
        type uint16 {
          range "1..max";
        }
        mandatory true;
        description
          "Sets the maximum number of sequential keep-alive probes
           that can fail to obtain a response from the TCP peer
           before assuming the TCP peer is no longer alive.";
      }

      leaf probe-interval {
        type uint16 {
          range "1..max";
        }
        units "seconds";
        mandatory true;
        description
          "Sets the time interval between failed probes.";
      }
    }
  }

  grouping tcp-connection-grouping {
    description
      "A reusable grouping for configuring TCP parameters common
       to TCP connections.";
    uses tcp-common-grouping;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="26"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-ssh-common</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-ssh-common" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="26"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-ssh-common {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-ssh-common";
  prefix sshcmn;

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
     Author:   Gary Wu &lt;mailto:garywu@cisco.com&gt;";
  description
    "This module defines a common features, identities, and
     groupings for Secure Shell (SSH).

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for SSH Clients and SSH Servers";
  }

  feature ssh-ecc {
    description
      "Elliptic Curve Cryptography is supported for SSH.";
    reference
      "RFC 5656: Elliptic Curve Algorithm Integration in the
                 Secure Shell Transport Layer";
  }

  feature ssh-x509-certs {
    description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     "X.509v3 certificates are supported for SSH per RFC 6187.";
    reference
      "RFC 6187: X.509v3 Certificates for Secure Shell
                 Authentication";
  }

  feature ssh-dh-group-exchange {
    description
      "Diffie-Hellman Group Exchange is supported for SSH.";
    reference
      "RFC 4419: Diffie-Hellman Group Exchange for the
                 Secure Shell (SSH) Transport Layer Protocol";
  }

  feature ssh-ctr {
    description
      "SDCTR encryption mode is supported for SSH.";
    reference
      "RFC 4344: The Secure Shell (SSH) Transport Layer
                 Encryption Modes";
  }

  feature ssh-sha2 {
    description
      "The SHA2 family of cryptographic hash functions is
       supported for SSH.";
    reference
      "FIPS PUB 180-4: Secure Hash Standard (SHS)";
  }

  identity public-key-alg-base {
    description
      "Base identity used to identify public key algorithms.";
  }

  identity ssh-dss {
    base public-key-alg-base;
    description
      "Digital Signature

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Algorithm using SHA-1 as the
       hashing algorithm.";
    reference
      "RFC 4253:
         The Secure Shell (SSH) Transport Layer Protocol";
  }

  identity ssh-rsa {
    base public-key-alg-base;
    description
      "RSASSA-PKCS1-v1_5 signature scheme using SHA-1 as the
       hashing algorithm.";
    reference
      "RFC 4253:
         The Secure Shell (SSH) Transport Layer Protocol";
  }

  identity ecdsa-sha2-nistp256 {
    if-feature "ssh-ecc and ssh-sha2";
    base public-key-alg-base;
    description
      "Elliptic Curve Digital Signature Algorithm (ECDSA) using the
       nistp256 curve and the SHA2 family of hashing algorithms.";
    reference
      "RFC 5656: Elliptic Curve Algorithm Integration in the
                 Secure Shell Transport Layer";
  }

  identity ecdsa-sha2-nistp384 {
    if-feature "ssh-ecc and ssh-sha2";
    base public-key-alg-base;
    description
      "Elliptic Curve Digital Signature Algorithm (ECDSA) using the
       nistp384 curve and the SHA2 family of hashing a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
lgorithms.";
    reference
      "RFC 5656: Elliptic Curve Algorithm Integration in the
                 Secure Shell Transport Layer";
  }

  identity ecdsa-sha2-nistp521 {
    if-feature "ssh-ecc and ssh-sha2";
    base public-key-alg-base;
    description
      "Elliptic Curve Digital Signature Algorithm (ECDSA) using the
       nistp521 curve and the SHA2 family of hashing algorithms.";
    reference
      "RFC 5656: Elliptic Curve Algorithm Integration in the
                 Secure Shell Transport Layer";
  }

  identity x509v3-ssh-rsa {
    if-feature "ssh-x509-certs";
    base public-key-alg-base;
    description
      "RSASSA-PKCS1-v1_5 signature scheme using a public key stored
       in an X.509v3 certificate and using SHA-1 as the hashing
       algorithm.";
    reference
      "RFC 6187: X.509v3 Certificates for Secure Shell
                 Authentication";
  }

  identity x509v3-rsa2048-sha256 {
    if-feature "ssh-x509-certs and ssh-sha2";
    base public-key-alg-base;
    description
      "R

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
SASSA-PKCS1-v1_5 signature scheme using a public key stored
       in an X.509v3 certificate and using SHA-256 as the hashing
       algorithm.  RSA keys conveyed using this format MUST have a
       modulus of at least 2048 bits.";
    reference
      "RFC 6187: X.509v3 Certificates for Secure Shell
                 Authentication";
  }

  identity x509v3-ecdsa-sha2-nistp256 {
    if-feature "ssh-ecc and ssh-x509-certs and ssh-sha2";
    base public-key-alg-base;
    description
      "Elliptic Curve Digital Signature Algorithm (ECDSA)
       using the nistp256 curve with a public key stored in
       an X.509v3 certificate and using the SHA2 family of
       hashing algorithms.";
    reference
      "RFC 6187: X.509v3 Certificates for Secure Shell
                 Authentication";
  }

  identity x509v3-ecdsa-sha2-nistp384 {
    if-feature "ssh-ecc and ssh-x509-certs and ssh-sha2";
    base public-key-alg-base;
    description
      "Elliptic Curve Digital Signature Algorithm (ECDSA)
       using the nistp3

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
84 curve with a public key stored in
       an X.509v3 certificate and using the SHA2 family of
       hashing algorithms.";
    reference
      "RFC 6187: X.509v3 Certificates for Secure Shell
                 Authentication";
  }

  identity x509v3-ecdsa-sha2-nistp521 {
    if-feature "ssh-ecc and ssh-x509-certs and ssh-sha2";
    base public-key-alg-base;
    description
      "Elliptic Curve Digital Signature Algorithm (ECDSA)
       using the nistp521 curve with a public key stored in
       an X.509v3 certificate and using the SHA2 family of
       hashing algorithms.";
    reference
      "RFC 6187: X.509v3 Certificates for Secure Shell
                 Authentication";
  }

  identity key-exchange-alg-base {
    description
      "Base identity used to identify key exchange algorithms.";
  }

  identity diffie-hellman-group14-sha1 {
    base key-exchange-alg-base;
    description
      "Diffie-Hellman key exchange with SHA-1 as HASH and
       Oakley Group 14 (2048-bit MODP Group).";
    reference


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   "RFC 4253: The Secure Shell (SSH) Transport Layer Protocol";
  }

  identity diffie-hellman-group-exchange-sha1 {
    if-feature "ssh-dh-group-exchange";
    base key-exchange-alg-base;
    description
      "Diffie-Hellman Group and Key Exchange with SHA-1 as HASH.";
    reference
      "RFC 4419: Diffie-Hellman Group Exchange for the
                 Secure Shell (SSH) Transport Layer Protocol";
  }

  identity diffie-hellman-group-exchange-sha256 {
    if-feature "ssh-dh-group-exchange and ssh-sha2";
    base key-exchange-alg-base;
    description
      "Diffie-Hellman Group and Key Exchange with SHA-256 as HASH.";
    reference
      "RFC 4419: Diffie-Hellman Group Exchange for the
                 Secure Shell (SSH) Transport Layer Protocol";
  }

  identity ecdh-sha2-nistp256 {
    if-feature "ssh-ecc and ssh-sha2";
    base key-exchange-alg-base;
    description
      "Elliptic Curve Diffie-Hellman (ECDH) key exchange using the
       nistp256 curve and the SHA2 family of hashing algorithms.";
    r

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eference
      "RFC 5656: Elliptic Curve Algorithm Integration in the
                 Secure Shell Transport Layer";
  }

  identity ecdh-sha2-nistp384 {
    if-feature "ssh-ecc and ssh-sha2";
    base key-exchange-alg-base;
    description
      "Elliptic Curve Diffie-Hellman (ECDH) key exchange using the
       nistp384 curve and the SHA2 family of hashing algorithms.";
    reference
      "RFC 5656: Elliptic Curve Algorithm Integration in the
                 Secure Shell Transport Layer";
  }

  identity ecdh-sha2-nistp521 {
    if-feature "ssh-ecc and ssh-sha2";
    base key-exchange-alg-base;
    description
      "Elliptic Curve Diffie-Hellman (ECDH) key exchange using the
       nistp521 curve and the SHA2 family of hashing algorithms.";
    reference
      "RFC 5656: Elliptic Curve Algorithm Integration in the
                 Secure Shell Transport Layer";
  }

  identity encryption-alg-base {
    description
      "Base identity used to identify encryption algorithms.";
  }

  identity triple-des-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
cbc {
    base encryption-alg-base;
    description
      "Three-key 3DES in CBC mode.";
    reference
      "RFC 4253: The Secure Shell (SSH) Transport Layer Protocol";
  }

  identity aes128-cbc {
    base encryption-alg-base;
    description
      "AES in CBC mode, with a 128-bit key.";
    reference
      "RFC 4253: The Secure Shell (SSH) Transport Layer Protocol";
  }

  identity aes192-cbc {
    base encryption-alg-base;
    description
      "AES in CBC mode, with a 192-bit key.";
    reference
      "RFC 4253: The Secure Shell (SSH) Transport Layer Protocol";
  }

  identity aes256-cbc {
    base encryption-alg-base;
    description
      "AES in CBC mode, with a 256-bit key.";
    reference
      "RFC 4253: The Secure Shell (SSH) Transport Layer Protocol";
  }

  identity aes128-ctr {
    if-feature "ssh-ctr";
    base encryption-alg-base;
    description
      "AES in SDCTR mode, with 128-bit key.";
    reference
      "RFC 4344: The Secure Shell (SSH) Transport Layer Encryption
                 Mod

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
es";
  }

  identity aes192-ctr {
    if-feature "ssh-ctr";
    base encryption-alg-base;
    description
      "AES in SDCTR mode, with 192-bit key.";
    reference
      "RFC 4344: The Secure Shell (SSH) Transport Layer Encryption
                 Modes";
  }

  identity aes256-ctr {
    if-feature "ssh-ctr";
    base encryption-alg-base;
    description
      "AES in SDCTR mode, with 256-bit key.";
    reference
      "RFC 4344: The Secure Shell (SSH) Transport Layer Encryption
         Modes";
  }

  identity mac-alg-base {
    description
      "Base identity used to identify message authentication
       code (MAC) algorithms.";
  }

  identity hmac-sha1 {
    base mac-alg-base;
    description
      "HMAC-SHA1";
    reference
      "RFC 4253: The Secure Shell (SSH) Transport Layer Protocol";
  }

  identity hmac-sha2-256 {
    if-feature "ssh-sha2";
    base mac-alg-base;
    description
      "HMAC-SHA2-256";
    reference
      "RFC 6668: SHA-2 Data Integrity Verification for the
                 Sec

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ure Shell (SSH) Transport Layer Protocol";
  }

  identity hmac-sha2-512 {
    if-feature "ssh-sha2";
    base mac-alg-base;
    description
      "HMAC-SHA2-512";
    reference
      "RFC 6668: SHA-2 Data Integrity Verification for the
                 Secure Shell (SSH) Transport Layer Protocol";
  }

  grouping transport-params-grouping {
    description
      "A reusable grouping for SSH transport parameters.";
    reference
      "RFC 4253: The Secure Shell (SSH) Transport Layer Protocol";
    container host-key {
      description
        "Parameters regarding host key.";
      leaf-list host-key-alg {
        type identityref {
          base public-key-alg-base;
        }
        ordered-by user;
        description
          "Acceptable host key algorithms in order of descending
           preference.  The configured host key algorithms should
           be compatible with the algorithm used by the configured
           private key.  Please see Section 5 of RFC XXXX for
           valid combinations.

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:


           If this leaf-list is not configured (has zero elements)
           the acceptable host key algorithms are implementation-
           defined.";
        reference
          "RFC XXXX: YANG Groupings for SSH Clients and SSH Servers";
      }
    }

    container key-exchange {
      description
        "Parameters regarding key exchange.";
      leaf-list key-exchange-alg {
        type identityref {
          base key-exchange-alg-base;
        }
        ordered-by user;
        description
          "Acceptable key exchange algorithms in order of descending
           preference.

           If this leaf-list is not configured (has zero elements)
           the acceptable key exchange algorithms are implementation
           defined.";
      }
    }

    container encryption {
      description
        "Parameters regarding encryption.";
      leaf-list encryption-alg {
        type identityref {
          base encryption-alg-base;
        }
        ordered-by user;
        description


[INF]: LN: Session 1: sending message:

#767


[INF]: LN: Session 1: sending message:
"Acceptable encryption algorithms in order of descending
           preference.

           If this leaf-list is not configured (has zero elements)
           the acceptable encryption algorithms are implementation
           defined.";
      }
    }

    container mac {
      description
        "Parameters regarding message authentication code (MAC).";
      leaf-list mac-alg {
        type identityref {
          base mac-alg-base;
        }
        ordered-by user;
        description
          "Acceptable MAC algorithms in order of descending
           preference.

           If this leaf-list is not configured (has zero elements)
           the acceptable MAC algorithms are implementation-
           defined.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="27"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>iana-crypt-hash</identifier><version>2014-08-06</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "iana-crypt-hash" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="27"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module iana-crypt-hash {
  namespace "urn:ietf:params:xml:ns:yang:iana-crypt-hash";
  prefix ianach;

  organization
    "IANA";
  contact
    "        Internet Assigned Numbers Authority

     Postal: ICANN
             12025 Waterfront Drive, Suite 300
             Los Angeles, CA  90094-2536
             United States

     Tel:    +1 310 301 5800
     E-Mail: iana@iana.org&gt;";
  description
    "This YANG module defines a type for storing passwords
     using a hash function and features to indicate which hash
     functions are supported by an implementation.

     The latest revision of this YANG module can be obtained from
     the IANA web site.

     Requests for new values should be made to IANA via
     email (iana@iana.org).

     Copyright (c) 2014 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     The initial version of this YANG module is part of RFC 7317;
     see the RFC itself for full legal notices.";

  revision 2014-08-06 {
    description
      "Initial revision.";
    reference
      "RFC 7317: A YANG Data Model for System Management";
  }

  feature crypt-hash-md5 {
    description
      "Indicates that the device supports the MD5
       hash function in 'crypt-hash' values.";
    reference
      "RFC 1321: The MD5 Message-Digest Algorithm";
  }

  feature crypt-hash-sha-256 {
    description
      "Indicates that the device supports the SHA-256
       hash function in 'crypt-hash' values.";
    reference
      "FIPS.180-4.2012: Secure Hash Standard (SHS)";
  }

  feature

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 crypt-hash-sha-512 {
    description
      "Indicates that the device supports the SHA-512
       hash function in 'crypt-hash' values.";
    reference
      "FIPS.180-4.2012: Secure Hash Standard (SHS)";
  }

  typedef crypt-hash {
    type string {
      pattern "$0$.*|$1$[a-zA-Z0-9./]{1,8}$[a-zA-Z0-9./]{22}|$5$(rounds=\\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{43}|$6$(rounds=\\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{86}";
    }
    description
      "The crypt-hash type is used to store passwords using
       a hash function.  The algorithms for applying the hash
       function and encoding the result are implemented in
       various UNIX systems as the function crypt(3).

       A value of this type matches one of the forms:

         $0$&lt;clear text password&gt;
         $&lt;id&gt;$&lt;salt&gt;$&lt;password hash&gt;
         $&lt;id&gt;$&lt;parameter&gt;$&lt;salt&gt;$&lt;password hash&gt;

       The '$0$' prefix signals that the value is clear text.  When
       such a value is received by the server

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
, a hash value is
       calculated, and the string '$&lt;id&gt;$&lt;salt&gt;$' or
       $&lt;id&gt;$&lt;parameter&gt;$&lt;salt&gt;$ is prepended to the result.  This
       value is stored in the configuration data store.
       If a value starting with '$&lt;id&gt;$', where &lt;id&gt; is not '0', is
       received, the server knows that the value already represents a
       hashed value and stores it 'as is' in the data store.

       When a server needs to verify a password given by a user, it
       finds the stored password hash string for that user, extracts
       the salt, and calculates the hash with the salt and given
       password as input.  If the calculated hash value is the same
       as the stored value, the password given by the client is
       accepted.

       This type defines the following hash functions:

         id | hash function | feature
         ---+---------------+-------------------
          1 | MD5           | crypt-hash-md5
          5 | SHA-256       | crypt-hash-sha-256

[INF]: LN: Session 1: sending message:

#360


[INF]: LN: Session 1: sending message:

          6 | SHA-512       | crypt-hash-sha-512

       The server indicates support for the different hash functions
       by advertising the corresponding feature.";
    reference
      "IEEE Std 1003.1-2008 - crypt() function
       RFC 1321: The MD5 Message-Digest Algorithm
       FIPS.180-4.2012: Secure Hash Standard (SHS)";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="28"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-ssh-server</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-ssh-server" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="28"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-ssh-server {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-ssh-server";
  prefix sshs;

  import ietf-ssh-common {
    prefix sshcmn;
    revision-date 2019-07-02;
    reference
      "RFC XXXX: YANG Groupings for SSH Clients and SSH Servers";
  }

  import ietf-keystore {
    prefix ks;
    reference
      "RFC ZZZZ: A YANG Data Model for a Keystore";
  }

  import iana-crypt-hash {
    prefix ianach;
    reference
      "RFC 7317: A YANG Data Model for System Management";
  }

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
watsen.net&gt;
     Author:   Gary Wu &lt;mailto:garywu@cisco.com&gt;";
  description
    "This module defines reusable groupings for SSH servers that
     can be used as a basis for specific SSH server instances.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be int

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
erpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for SSH Clients and SSH Servers";
  }

  feature ssh-server-transport-params-config {
    description
      "SSH transport layer parameters are configurable on an SSH
       server.";
  }

  feature ssh-server-keepalives {
    description
      "Per socket SSH keepalive parameters are configurable for
       SSH servers on the server implementing this feature.";
  }

  feature local-client-auth-supported {
    description
      "Indicates that the SSH server supports local configuration
       of client credentials.";
  }

  feature external-client-auth-supported {
    description
      "Indicates that the SSH server supports external configuration
       of client credentials.";
  }

  grouping ssh-server-grouping {
    description
      "A reusable grouping for configu

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ring a SSH server without
       any consideration for how underlying TCP sessions are
       established.

       Note that this grouping uses fairly typical descendent
       node names such that a stack of 'uses' statements will
       have name conflicts.  It is intended that the consuming
       data model will resolve the issue (e.g., by wrapping
       the 'uses' statement in a container called
       'ssh-server-parameters').  This model purposely does
       not do this itself so as to provide maximum flexibility
       to consuming models.";
    container server-identity {
      nacm:default-deny-write;
      description
        "The list of host-keys the SSH server will present when
         establishing a SSH connection.";
      list host-key {
        key "name";
        min-elements 1;
        ordered-by user;
        description
          "An ordered list of host keys the SSH server will use to
           construct its ordered list of algorithms, when sending
           its SSH_MSG_KEXINIT mess

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
age, as defined in Section 7.1
           of RFC 4253.";
        reference
          "RFC 4253: The Secure Shell (SSH) Transport Layer
                     Protocol";
        leaf name {
          type string;
          description
            "An arbitrary name for this host-key";
        }

        choice host-key-type {
          mandatory true;
          description
            "The type of host key being specified";
          container public-key {
            description
              "A locally-defined or referenced asymmetric key pair
               to be used for the SSH server's host key.";
            reference
              "RFC ZZZZ: YANG Data Model for a Centralized
                         Keystore Mechanism";
            uses ks:local-or-keystore-asymmetric-key-grouping;
          }

          container certificate {
            if-feature "sshcmn:ssh-x509-certs";
            description
              "A locally-defined or referenced end-entity
               certificate to be used for the SSH

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 server's
               host key.";
            reference
              "RFC ZZZZ: YANG Data Model for a Centralized
                         Keystore Mechanism";
            uses ks:local-or-keystore-end-entity-cert-with-key-grouping;
          }
        }
      }
    }

    container client-authentication {
      nacm:default-deny-write;
      description
        "Specifies if SSH client authentication is required or
         optional, and specifies if the SSH client authentication
         credentials are configured locally or externally.";
      container supported-authentication-methods {
        description
          "Indicates which authentication methods the server
           supports.";
        leaf publickey {
          type empty;
          description
            "Indicates that the 'publickey' method is supported.
             Note that RFC 6187 X.509v3 Certificates for SSH uses
             the 'publickey' method name.";
          reference
            "RFC 4252: The Secure Shell (SSH) Authenti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
cation
                       Protocol.
             RFC 6187: X.509v3 Certificates for Secure Shell
                       Authentication.";
        }

        leaf passsword {
          type empty;
          description
            "Indicates that the 'password' method is supported.";
          reference
            "RFC 4252: The Secure Shell (SSH) Authentication
                       Protocol.";
        }

        leaf hostbased {
          type empty;
          description
            "Indicates that the 'hostbased' method is supported.";
          reference
            "RFC 4252: The Secure Shell (SSH) Authentication
                       Protocol.";
        }

        leaf none {
          type empty;
          description
            "Indicates that the 'none' method is supported.";
          reference
            "RFC 4252: The Secure Shell (SSH) Authentication
                       Protocol.";
        }

        leaf-list other {
          type string;
          description
            "Indicates

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 a supported method name not defined by
             RFC 4253.";
          reference
            "RFC 4252: The Secure Shell (SSH) Authentication
                       Protocol.";
        }
      }

      choice local-or-external {
        mandatory true;
        description
          "Indicates if the client credentials are configured
           locally or externally.";
        case local {
          if-feature "local-client-auth-supported";
          description
            "Client credentials are configured locally.";
          container users {
            description
              "A list of locally configured users.";
            list user {
              key "name";
              description
                "The list of local users configured on this device.";
              leaf name {
                type string;
                description
                  "The user name string identifying this entry.";
              }

              leaf password {
                type ianach:crypt-hash;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       description
                  "The password for this entry.";
              }

              list authorized-key {
                key "name";
                description
                  "A list of public SSH keys for this user.  These
                   keys are allowed for SSH authentication, as
                   described in RFC 4253.";
                reference
                  "RFC 4253: The Secure Shell (SSH) Transport Layer
                             Protocol";
                leaf name {
                  type string;
                  description
                    "An arbitrary name for the SSH key.";
                }

                leaf algorithm {
                  type string;
                  mandatory true;
                  description
                    "The public key algorithm name for this SSH key.

                     Valid values are the values in the IANA 'Secure
                     Shell (SSH) Protocol Parameters' registry,
                     Public Key Algorithm

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 Names.";
                  reference
                    "IANA 'Secure Shell (SSH) Protocol Parameters'
                     registry, Public Key Algorithm Names";
                }

                leaf key-data {
                  type binary;
                  mandatory true;
                  description
                    "The binary public key data for this SSH key, as
                     specified by RFC 4253, Section 6.6, i.e.:

                       string    certificate or public key format
                                 identifier
                       byte[n]   key/certificate data.";
                  reference
                    "RFC 4253: The Secure Shell (SSH) Transport Layer
                               Protocol";
                }
              }
            }
          }
        }

        case external {
          if-feature "external-client-auth-supported";
          description
            "Client credentials are configured externally, such
             as via RADIUS, RFC 7317,

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 or another mechanism.";
          leaf client-auth-defined-elsewhere {
            type empty;
            description
              "Indicates that client credentials are configured
               elsewhere.";
          }
        }
      }
    }

    container transport-params {
      nacm:default-deny-write;
      if-feature "ssh-server-transport-params-config";
      description
        "Configurable parameters of the SSH transport layer.";
      uses sshcmn:transport-params-grouping;
    }

    container keepalives {
      nacm:default-deny-write;
      if-feature "ssh-server-keepalives";
      presence "Indicates that keepalives are enabled.";
      description
        "Configures the keep-alive policy, to proactively test
         the aliveness of the SSL client.  An unresponsive SSL
         client is dropped after approximately max-wait *
         max-attempts seconds.";
      leaf max-wait {
        type uint16 {
          range "1..max";
        }
        units "seconds";
        default "30";


[INF]: LN: Session 1: sending message:

#578


[INF]: LN: Session 1: sending message:
    description
          "Sets the amount of time in seconds after which
           if no data has been received from the SSL client,
           a SSL-level message will be sent to test the
           aliveness of the SSL client.";
      }

      leaf max-attempts {
        type uint8;
        default "3";
        description
          "Sets the maximum number of sequential keep-alive
           messages that can fail to obtain a response from
           the SSL client before assuming the SSL client is
           no longer alive.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="29"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-keystore</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-keystore" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="29"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-keystore {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-keystore";
  prefix ks;

  import ietf-crypto-types {
    prefix ct;
    reference
      "RFC CCCC: Common YANG Data Types for Cryptography";
  }

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;";
  description
    "This module defines a keystore to centralize management
     of security credentials.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and bi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC VVVV: A YANG Data Model for a Keystore";
  }

  feature keystore-supported {
    description
      "The 'keystore-supported' feature indicates that th

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e server
       supports the keystore.";
  }

  feature local-definitions-supported {
    description
      "The 'local-definitions-supported' feature indicates that the
       server supports locally-defined keys.";
  }

  feature key-generation {
    description
      "Indicates that the server supports the actions related to
       the life cycling keys in &lt;operational&gt;.  To be used by
       configuration, keys in &lt;operational&gt; must be copied to
       &lt;running&gt;.";
  }

  typedef asymmetric-key-ref {
    type leafref {
      path "/ks:keystore/ks:asymmetric-keys/ks:asymmetric-key/ks:name";
    }
    description
      "This typedef enables modules to easily define a reference
       to an asymmetric key stored in the keystore.";
  }

  grouping key-reference-type-grouping {
    description
      "A reusable grouping for a choice for the type of key
       referenced in the keystore.";
    choice key-type {
      mandatory true;
      description
        "A choice between a reference to a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
symmetric or asymmetric
         key in the keystore.";
      leaf symmetric-key-ref {
        if-feature "keystore-supported";
        type leafref {
          path "/ks:keystore/ks:symmetric-keys/ks:symmetric-key/ks:name";
        }
        description
          "Identifies a symmetric key used to encrypt this key.";
      }

      leaf asymmetric-key-ref {
        if-feature "keystore-supported";
        type leafref {
          path "/ks:keystore/ks:asymmetric-keys/ks:asymmetric-key/ks:name";
        }
        description
          "Identifies an asymmetric key used to encrypt this key.";
      }
    }
  }

  grouping encrypted-value-grouping {
    description
      "A reusable grouping for a value that has been encrypted by
       a symmetric or asymmetric key in the keystore.";
    uses key-reference-type-grouping;

    leaf value {
      type binary;
      description
        "The private key, encrypted using the specified symmetric
         or asymmetric key.";
    }
  }

  grouping symmetric-key-grou

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ping {
    description
      "This grouping is identical to the one in ietf-crypt-types
       except that it adds a couple case statements enabling the
       key value to be encrypted by a symmetric or an asymmetric
       key known to the keystore.";
    uses ct:symmetric-key-grouping {
      augment "key-type" {
        description
          "Augments a new 'case' statement into the 'choice'
           statement defined by the ietf-crypto-types module.";
        container encrypted-key {
          description
            "A container for the encrypted symmetric key value.";
          uses encrypted-value-grouping;
        }
      }
    }
  }

  grouping asymmetric-key-pair-grouping {
    description
      "This grouping is identical to the one in ietf-crypt-types
       except that it adds a couple case statements enabling the
       key value to be encrypted by a symmetric or an asymmetric
       key known to the keystore.";
    uses ct:asymmetric-key-pair-grouping {
      augment "private-key-type" {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      description
          "Augments a new 'case' statement into the 'choice'
           statement defined by the ietf-crypto-types module.";
        container encrypted-private-key {
          description
            "A container for the encrypted asymmetric private
             key value.";
          uses encrypted-value-grouping;
        }
      }
    }
  }

  grouping asymmetric-key-pair-with-cert-grouping {
    description
      "This grouping is identical to the one in ietf-crypt-types
       except that it adds a couple case statements enabling the
       key value to be encrypted by a symmetric or an asymmetric
       key known to the keystore.";
    uses ct:asymmetric-key-pair-with-cert-grouping {
      augment "private-key-type" {
        description
          "Augments a new 'case' statement into the 'choice'
           statement defined by the ietf-crypto-types module.";
        container encrypted-private-key {
          description
            "A container for the encrypted asymmetric private


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
            key value.";
          uses encrypted-value-grouping;
        }
      }
    }
  }

  grouping asymmetric-key-pair-with-certs-grouping {
    description
      "This grouping is identical to the one in ietf-crypt-types
       except that it adds a couple case statements enabling the
       key value to be encrypted by a symmetric or an asymmetric
       key known to the keystore.";
    uses ct:asymmetric-key-pair-with-certs-grouping {
      augment "private-key-type" {
        description
          "Augments a new 'case' statement into the 'choice'
           statement defined by the ietf-crypto-types module.";
        container encrypted-private-key {
          description
            "A container for the encrypted asymmetric private
             key value.";
          uses encrypted-value-grouping;
        }
      }
    }
  }

  grouping asymmetric-key-certificate-ref-grouping {
    description
      "This grouping defines a reference to a specific certificate
       associated with an asymmetric

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
key stored in the keystore.";
    leaf asymmetric-key {
      type asymmetric-key-ref;
      must "../certificate";
      description
        "A reference to an asymmetric key in the keystore.";
    }

    leaf certificate {
      type leafref {
        path "/ks:keystore/ks:asymmetric-keys/ks:asymmetric-key[ks:name = current()/../asymmetric-key]/ks:certificates/ks:certificate/ks:name";
      }
      must "../asymmetric-key";
      description
        "A reference to a specific certificate of the
         asymmetric key in the keystore.";
    }
  }

  grouping local-or-keystore-asymmetric-key-grouping {
    description
      "A grouping that expands to allow the asymmetric key to be
       either stored locally, within the using data model, or be
       a reference to an asymmetric key stored in the keystore.";
    choice local-or-keystore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the keystore.";
      case local {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local key definition.";
          uses asymmetric-key-pair-grouping;
        }
      }

      case keystore {
        if-feature "keystore-supported";
        leaf keystore-reference {
          type asymmetric-key-ref;
          description
            "A reference to an asymmetric key that exists in
             the keystore.  The intent is to reference just the
             asymmetric key, not any certificates that may also
             be associated with the asymmetric key.";
        }
      }
    }
  }

  grouping local-or-keystore-asymmetric-key-with-certs-grouping {
    description
      "A grouping that expands to allow an asymmetric key and its
       associated certificates to be either stored locally, within
       the using data model, or be a reference to an asymmetric key
       (and its associated certificates) stored in the keystore.";
    choice local-or-ke

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ystore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the keystore.";
      case local {
        if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local key definition.";
          uses asymmetric-key-pair-with-certs-grouping;
        }
      }

      case keystore {
        if-feature "keystore-supported";
        leaf keystore-reference {
          type asymmetric-key-ref;
          description
            "A reference to an asymmetric-key (and all of its
             associated certificates) in the keystore.";
        }
      }
    }
  }

  grouping local-or-keystore-end-entity-cert-with-key-grouping {
    description
      "A grouping that expands to allow an end-entity certificate
       (and its associated private key) to be either stored locally,
       within the using data model, or be a reference to a specific
       certificate in

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
the keystore.";
    choice local-or-keystore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the keystore.";
      case local {
        if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local key definition.";
          uses asymmetric-key-pair-with-cert-grouping;
        }
      }

      case keystore {
        if-feature "keystore-supported";
        container keystore-reference {
          description
            "A reference to a specific certificate (and its
             associated private key) in the keystore.";
          uses asymmetric-key-certificate-ref-grouping;
        }
      }
    }
  }

  grouping keystore-grouping {
    description
      "Grouping definition enables use in other contexts.  If ever
       done, implementations SHOULD augment new 'case' statements
       into local-or-keystore 'choice' statements to supply leafre

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
fs
       to the new location.";
    container asymmetric-keys {
      description
        "A list of asymmetric keys.";
      list asymmetric-key {
        key "name";
        description
          "An asymmetric key.";
        leaf name {
          type string;
          description
            "An arbitrary name for the asymmetric key.";
        }

        uses ks:asymmetric-key-pair-with-certs-grouping;
      }
    }

    container symmetric-keys {
      description
        "A list of symmetric keys.";
      list symmetric-key {
        key "name";
        description
          "A symmetric key.";
        leaf name {
          type string;
          description
            "An arbitrary name for the symmetric key.";
        }

        uses ks:symmetric-key-grouping;
      }
    }
  }

  container keystore {
    nacm:default-deny-write;
    description
      "The keystore contains a list of keys.";
    uses keystore-grouping;
  }

  rpc generate-symmetric-key {
    description
      "Requests the device to

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 generate an symmetric key using
       the specified key algorithm, optionally encrypted using
       a key in the keystore.  The output is this RPC can be
       used as input to a subsequent configuration request.";
    input {
      leaf algorithm {
        type ct:encryption-algorithm-t;
        mandatory true;
        description
          "The algorithm to be used when generating the key.";
        reference
          "RFC CCCC: Common YANG Data Types for Cryptography";
      }

      container encrypt-with {
        presence "Indicates that the key should be encrypted using
         the specified symmetric or asymmetric key.  If not
         specified, then the private key is not encrypted
         when returned.";
        description
          "A container for the 'key-type' choice.";
        uses key-reference-type-grouping;
      }
    }

    output {
      uses ks:symmetric-key-grouping;
    }
  }

  rpc generate-asymmetric-key {
    description
      "Requests the device to generate an asymmetric

[INF]: LN: Session 1: sending message:

#932


[INF]: LN: Session 1: sending message:
 key using
       the specified key algorithm, optionally encrypted using
       a key in the keystore.  The output is this RPC can be
       used as input to a subsequent configuration request.";
    input {
      leaf algorithm {
        type ct:asymmetric-key-algorithm-t;
        mandatory true;
        description
          "The algorithm to be used when generating the key.";
        reference
          "RFC CCCC: Common YANG Data Types for Cryptography";
      }

      container encrypt-with {
        presence "Indicates that the key should be encrypted using
         the specified symmetric or asymmetric key.  If not
         specified, then the private key is not encrypted
         when returned.";
        description
          "A container for the 'key-type' choice.";
        uses key-reference-type-grouping;
      }
    }

    output {
      uses ks:asymmetric-key-pair-grouping;
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="30"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>iana-crypt-hash</identifier><version>2014-08-06</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "iana-crypt-hash" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="30"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module iana-crypt-hash {
  namespace "urn:ietf:params:xml:ns:yang:iana-crypt-hash";
  prefix ianach;

  organization
    "IANA";
  contact
    "        Internet Assigned Numbers Authority

     Postal: ICANN
             12025 Waterfront Drive, Suite 300
             Los Angeles, CA  90094-2536
             United States

     Tel:    +1 310 301 5800
     E-Mail: iana@iana.org&gt;";
  description
    "This YANG module defines a type for storing passwords
     using a hash function and features to indicate which hash
     functions are supported by an implementation.

     The latest revision of this YANG module can be obtained from
     the IANA web site.

     Requests for new values should be made to IANA via
     email (iana@iana.org).

     Copyright (c) 2014 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     The initial version of this YANG module is part of RFC 7317;
     see the RFC itself for full legal notices.";

  revision 2014-08-06 {
    description
      "Initial revision.";
    reference
      "RFC 7317: A YANG Data Model for System Management";
  }

  feature crypt-hash-md5 {
    description
      "Indicates that the device supports the MD5
       hash function in 'crypt-hash' values.";
    reference
      "RFC 1321: The MD5 Message-Digest Algorithm";
  }

  feature crypt-hash-sha-256 {
    description
      "Indicates that the device supports the SHA-256
       hash function in 'crypt-hash' values.";
    reference
      "FIPS.180-4.2012: Secure Hash Standard (SHS)";
  }

  feature

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 crypt-hash-sha-512 {
    description
      "Indicates that the device supports the SHA-512
       hash function in 'crypt-hash' values.";
    reference
      "FIPS.180-4.2012: Secure Hash Standard (SHS)";
  }

  typedef crypt-hash {
    type string {
      pattern "$0$.*|$1$[a-zA-Z0-9./]{1,8}$[a-zA-Z0-9./]{22}|$5$(rounds=\\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{43}|$6$(rounds=\\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{86}";
    }
    description
      "The crypt-hash type is used to store passwords using
       a hash function.  The algorithms for applying the hash
       function and encoding the result are implemented in
       various UNIX systems as the function crypt(3).

       A value of this type matches one of the forms:

         $0$&lt;clear text password&gt;
         $&lt;id&gt;$&lt;salt&gt;$&lt;password hash&gt;
         $&lt;id&gt;$&lt;parameter&gt;$&lt;salt&gt;$&lt;password hash&gt;

       The '$0$' prefix signals that the value is clear text.  When
       such a value is received by the server

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
, a hash value is
       calculated, and the string '$&lt;id&gt;$&lt;salt&gt;$' or
       $&lt;id&gt;$&lt;parameter&gt;$&lt;salt&gt;$ is prepended to the result.  This
       value is stored in the configuration data store.
       If a value starting with '$&lt;id&gt;$', where &lt;id&gt; is not '0', is
       received, the server knows that the value already represents a
       hashed value and stores it 'as is' in the data store.

       When a server needs to verify a password given by a user, it
       finds the stored password hash string for that user, extracts
       the salt, and calculates the hash with the salt and given
       password as input.  If the calculated hash value is the same
       as the stored value, the password given by the client is
       accepted.

       This type defines the following hash functions:

         id | hash function | feature
         ---+---------------+-------------------
          1 | MD5           | crypt-hash-md5
          5 | SHA-256       | crypt-hash-sha-256

[INF]: LN: Session 1: sending message:

#360


[INF]: LN: Session 1: sending message:

          6 | SHA-512       | crypt-hash-sha-512

       The server indicates support for the different hash functions
       by advertising the corresponding feature.";
    reference
      "IEEE Std 1003.1-2008 - crypt() function
       RFC 1321: The MD5 Message-Digest Algorithm
       FIPS.180-4.2012: Secure Hash Standard (SHS)";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="31"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-tls-common</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-tls-common" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="31"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-tls-common {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-tls-common";
  prefix tlscmn;

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
     Author:   Gary Wu &lt;mailto:garywu@cisco.com&gt;";
  description
    "This module defines a common features, identities, and
     groupings for Transport Layer Security (TLS).

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set fort

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
h in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for TLS Clients and TLS Servers";
  }

  feature tls-1_0 {
    description
      "TLS Protocol Version 1.0 is supported.";
    reference
      "RFC 2246: The TLS Protocol Version 1.0";
  }

  feature tls-1_1 {
    description
      "TLS Protocol Version 1.1 is supported.";
    reference


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
"RFC 4346: The Transport Layer Security (TLS) Protocol
                 Version 1.1";
  }

  feature tls-1_2 {
    description
      "TLS Protocol Version 1.2 is supported.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  feature tls-1_3 {
    description
      "TLS Protocol Version 1.2 is supported.";
    reference
      "RFC 8446: The Transport Layer Security (TLS) Protocol
                 Version 1.3";
  }

  feature tls-ecc {
    description
      "Elliptic Curve Cryptography (ECC) is supported for TLS.";
    reference
      "RFC 8422: Elliptic Curve Cryptography (ECC) Cipher Suites
                 for Transport Layer Security (TLS)";
  }

  feature tls-dhe {
    description
      "Ephemeral Diffie-Hellman key exchange is supported for TLS.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  feature tls-3des {
    description
      "The Triple-DES block cipher is supported for

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 TLS.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  feature tls-gcm {
    description
      "The Galois/Counter Mode authenticated encryption mode is
       supported for TLS.";
    reference
      "RFC 5288: AES Galois Counter Mode (GCM) Cipher Suites for
                 TLS";
  }

  feature tls-sha2 {
    description
      "The SHA2 family of cryptographic hash functions is supported
       for TLS.";
    reference
      "FIPS PUB 180-4: Secure Hash Standard (SHS)";
  }

  identity tls-version-base {
    description
      "Base identity used to identify TLS protocol versions.";
  }

  identity tls-1.0 {
    if-feature "tls-1_0";
    base tls-version-base;
    description
      "TLS Protocol Version 1.0.";
    reference
      "RFC 2246: The TLS Protocol Version 1.0";
  }

  identity tls-1.1 {
    if-feature "tls-1_1";
    base tls-version-base;
    description
      "TLS Protocol Version 1.1.";
    reference
      "RFC 4346: The Transport

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Layer Security (TLS) Protocol
                 Version 1.1";
  }

  identity tls-1.2 {
    if-feature "tls-1_2";
    base tls-version-base;
    description
      "TLS Protocol Version 1.2.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity cipher-suite-base {
    description
      "Base identity used to identify TLS cipher suites.";
  }

  identity rsa-with-aes-128-cbc-sha {
    base cipher-suite-base;
    description
      "Cipher suite TLS_RSA_WITH_AES_128_CBC_SHA.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity rsa-with-aes-256-cbc-sha {
    base cipher-suite-base;
    description
      "Cipher suite TLS_RSA_WITH_AES_256_CBC_SHA.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity rsa-with-aes-128-cbc-sha256 {
    if-feature "tls-sha2";
    base cipher-suite-base;
    description
      "Ci

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
pher suite TLS_RSA_WITH_AES_128_CBC_SHA256.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity rsa-with-aes-256-cbc-sha256 {
    if-feature "tls-sha2";
    base cipher-suite-base;
    description
      "Cipher suite TLS_RSA_WITH_AES_256_CBC_SHA256.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity dhe-rsa-with-aes-128-cbc-sha {
    if-feature "tls-dhe";
    base cipher-suite-base;
    description
      "Cipher suite TLS_DHE_RSA_WITH_AES_128_CBC_SHA.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity dhe-rsa-with-aes-256-cbc-sha {
    if-feature "tls-dhe";
    base cipher-suite-base;
    description
      "Cipher suite TLS_DHE_RSA_WITH_AES_256_CBC_SHA.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity dhe-rsa-with-aes-128

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
-cbc-sha256 {
    if-feature "tls-dhe and tls-sha2";
    base cipher-suite-base;
    description
      "Cipher suite TLS_DHE_RSA_WITH_AES_128_CBC_SHA256.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity dhe-rsa-with-aes-256-cbc-sha256 {
    if-feature "tls-dhe and tls-sha2";
    base cipher-suite-base;
    description
      "Cipher suite TLS_DHE_RSA_WITH_AES_256_CBC_SHA256.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity ecdhe-ecdsa-with-aes-128-cbc-sha256 {
    if-feature "tls-ecc and tls-sha2";
    base cipher-suite-base;
    description
      "Cipher suite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256.";
    reference
      "RFC 5289: TLS Elliptic Curve Cipher Suites with
                 SHA-256/384 and AES Galois Counter Mode (GCM)";
  }

  identity ecdhe-ecdsa-with-aes-256-cbc-sha384 {
    if-feature "tls-ecc and tls-sha2";
    base cipher-suite-base;
    descr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
iption
      "Cipher suite TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384.";
    reference
      "RFC 5289: TLS Elliptic Curve Cipher Suites with
                 SHA-256/384 and AES Galois Counter Mode (GCM)";
  }

  identity ecdhe-rsa-with-aes-128-cbc-sha256 {
    if-feature "tls-ecc and tls-sha2";
    base cipher-suite-base;
    description
      "Cipher suite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256.";
    reference
      "RFC 5289: TLS Elliptic Curve Cipher Suites with
                 SHA-256/384 and AES Galois Counter Mode (GCM)";
  }

  identity ecdhe-rsa-with-aes-256-cbc-sha384 {
    if-feature "tls-ecc and tls-sha2";
    base cipher-suite-base;
    description
      "Cipher suite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384.";
    reference
      "RFC 5289: TLS Elliptic Curve Cipher Suites with
                 SHA-256/384 and AES Galois Counter Mode (GCM)";
  }

  identity ecdhe-ecdsa-with-aes-128-gcm-sha256 {
    if-feature "tls-ecc and tls-gcm and tls-sha2";
    base cipher-suite-base;
    description
      "Ciph

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
er suite TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.";
    reference
      "RFC 5289: TLS Elliptic Curve Cipher Suites with
                 SHA-256/384 and AES Galois Counter Mode (GCM)";
  }

  identity ecdhe-ecdsa-with-aes-256-gcm-sha384 {
    if-feature "tls-ecc and tls-gcm and tls-sha2";
    base cipher-suite-base;
    description
      "Cipher suite TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384.";
    reference
      "RFC 5289: TLS Elliptic Curve Cipher Suites with
                 SHA-256/384 and AES Galois Counter Mode (GCM)";
  }

  identity ecdhe-rsa-with-aes-128-gcm-sha256 {
    if-feature "tls-ecc and tls-gcm and tls-sha2";
    base cipher-suite-base;
    description
      "Cipher suite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256.";
    reference
      "RFC 5289: TLS Elliptic Curve Cipher Suites with
                 SHA-256/384 and AES Galois Counter Mode (GCM)";
  }

  identity ecdhe-rsa-with-aes-256-gcm-sha384 {
    if-feature "tls-ecc and tls-gcm and tls-sha2";
    base cipher-suite-base;
    description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   "Cipher suite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384.";
    reference
      "RFC 5289: TLS Elliptic Curve Cipher Suites with
                 SHA-256/384 and AES Galois Counter Mode (GCM)";
  }

  identity rsa-with-3des-ede-cbc-sha {
    if-feature "tls-3des";
    base cipher-suite-base;
    description
      "Cipher suite TLS_RSA_WITH_3DES_EDE_CBC_SHA.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
  }

  identity ecdhe-rsa-with-3des-ede-cbc-sha {
    if-feature "tls-ecc and tls-3des";
    base cipher-suite-base;
    description
      "Cipher suite TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA.";
    reference
      "RFC 8422: Elliptic Curve Cryptography (ECC) Cipher Suites
                 for Transport Layer Security (TLS)";
  }

  identity ecdhe-rsa-with-aes-128-cbc-sha {
    if-feature "tls-ecc";
    base cipher-suite-base;
    description
      "Cipher suite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA.";
    reference
      "RFC 8422: Elliptic Curve Cryptograp

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
hy (ECC) Cipher Suites
                 for Transport Layer Security (TLS)";
  }

  identity ecdhe-rsa-with-aes-256-cbc-sha {
    if-feature "tls-ecc";
    base cipher-suite-base;
    description
      "Cipher suite TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA.";
    reference
      "RFC 8422: Elliptic Curve Cryptography (ECC) Cipher Suites
                 for Transport Layer Security (TLS)";
  }

  grouping hello-params-grouping {
    description
      "A reusable grouping for TLS hello message parameters.";
    reference
      "RFC 5246: The Transport Layer Security (TLS) Protocol
                 Version 1.2";
    container tls-versions {
      description
        "Parameters regarding TLS versions.";
      leaf-list tls-version {
        type identityref {
          base tls-version-base;
        }
        description
          "Acceptable TLS protocol versions.

           If this leaf-list is not configured (has zero elements)
           the acceptable TLS protocol versions are implementation-
           defined

[INF]: LN: Session 1: sending message:

#823


[INF]: LN: Session 1: sending message:
.";
      }
    }

    container cipher-suites {
      description
        "Parameters regarding cipher suites.";
      leaf-list cipher-suite {
        type identityref {
          base cipher-suite-base;
        }
        ordered-by user;
        description
          "Acceptable cipher suites in order of descending
           preference.  The configured host key algorithms should
           be compatible with the algorithm used by the configured
           private key.  Please see Section 5 of RFC XXXX for
           valid combinations.

           If this leaf-list is not configured (has zero elements)
           the acceptable cipher suites are implementation-
           defined.";
        reference
          "RFC XXXX: YANG Groupings for TLS Clients and TLS Servers";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="32"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-tls-server</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-tls-server" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="32"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-tls-server {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-tls-server";
  prefix tlss;

  import ietf-tls-common {
    prefix tlscmn;
    revision-date 2019-07-02;
    reference
      "RFC XXXX: YANG Groupings for TLS Clients and TLS Servers";
  }

  import ietf-truststore {
    prefix ts;
    reference
      "RFC YYYY: A YANG Data Model for a Truststore";
  }

  import ietf-keystore {
    prefix ks;
    reference
      "RFC ZZZZ: A YANG Data Model for a Keystore";
  }

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.ne

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t&gt;
     Author:   Gary Wu &lt;mailto:garywu@cisco.com&gt;";
  description
    "This module defines reusable groupings for TLS servers that
     can be used as a basis for specific TLS server instances.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for TLS Clients and TLS Servers";
  }

  feature tls-server-hello-params-config {
    description
      "TLS hello message parameters are configurable on a TLS
       server.";
  }

  feature tls-server-keepalives {
    description
      "Per socket TLS keepalive parameters are configurable for
       TLS servers on the server implementing this feature.";
  }

  feature local-client-auth-supported {
    description
      "Indicates that the TLS server supports local
       configuration of client credentials.";
  }

  feature external-client-auth-supported {
    description
      "Indicates that the TLS server supports external
       configuration of client credentials.";
  }

  grouping tls-server-grouping {
    description
      "A reusable grouping for configuring a TLS serve

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
r without
       any consideration for how underlying TCP sessions are
       established.

       Note that this grouping uses fairly typical descendent
       node names such that a stack of 'uses' statements will
       have name conflicts.  It is intended that the consuming
       data model will resolve the issue (e.g., by wrapping
       the 'uses' statement in a container called
       'tls-server-parameters').  This model purposely does
       not do this itself so as to provide maximum flexibility
       to consuming models.";
    container server-identity {
      nacm:default-deny-write;
      description
        "A locally-defined or referenced end-entity certificate,
         including any configured intermediate certificates, the
         TLS server will present when establishing a TLS connection
         in its Certificate message, as defined in Section 7.4.2
         in RFC 5246.";
      reference
        "RFC 5246:
           The Transport Layer Security (TLS) Protocol Version 1.2
         RFC

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 ZZZZ:
           YANG Data Model for a 'Keystore' Mechanism";
      uses ks:local-or-keystore-end-entity-cert-with-key-grouping;
    }

    container client-authentication {
      nacm:default-deny-write;
      presence "Indicates that certificate based client authentication
       is supported (i.e., the server will request that the
       client send a certificate).";
      description
        "Specifies if TLS client authentication is required or
         optional, and specifies if the certificates needed to
         authenticate the TLS client are configured locally or
         externally.  If configured locally, the data model
         enables both trust anchors and end-entity certificate
         to be set.";
      choice required-or-optional {
        mandatory true;
        description
          "Indicates if TLS-level client authentication is required
           or optional.  This is necessary for some protocols (e.g.,
           RESTCONF) the may optionally authenticate a client via
           TLS-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
level authentication, HTTP-level authentication, or
           both simultaneously).";
        leaf required {
          type empty;
          description
            "Indicates that TLS-level client authentication is
             required.";
        }

        leaf optional {
          type empty;
          description
            "Indicates that TLS-level client authentication is
             optional.";
        }
      }

      choice local-or-external {
        mandatory true;
        description
          "Indicates if the certificates needed to authenticate
           the client are configured locally or externally.  The
           need to support external configuration for client
           authentication stems from the desire to support
           consuming data models that prefer to place client
           authentication with client definitions, rather then
           in a data model principally concerned with configuring
           the transport.";
        case local {
          if-feature "local-cl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ient-auth-supported";
          description
            "The certificates needed to authenticate the clients
             are configured locally.";
          leaf ca-certs {
            if-feature "ts:x509-certificates";
            type ts:certificates-ref;
            description
              "A reference to a list of certificate authority (CA)
               certificates used by the TLS server to authenticate
               TLS client certificates.  A client certificate is
               authenticated if it has a valid chain of trust to
               a configured CA certificate.";
            reference
              "RFC YYYY: YANG Data Model for Global Trust Anchors";
          }

          leaf client-certs {
            if-feature "ts:x509-certificates";
            type ts:certificates-ref;
            description
              "A reference to a list of client certificates
               used by the TLS server to authenticate TLS
               client certificates.  A clients certificate


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   is authenticated if it is an exact match to
               a configured client certificate.";
            reference
              "RFC YYYY: YANG Data Model for Global Trust Anchors";
          }
        }

        case external {
          if-feature "external-client-auth-supported";
          description
            "The certificates needed to authenticate the clients
             are configured externally.";
          leaf client-auth-defined-elsewhere {
            type empty;
            description
              "Indicates that certificates needed to authenticate
               clients are configured elsewhere.";
          }
        }
      }
    }

    container hello-params {
      nacm:default-deny-write;
      if-feature "tls-server-hello-params-config";
      description
        "Configurable parameters for the TLS hello message.";
      uses tlscmn:hello-params-grouping;
    }

    container keepalives {
      nacm:default-deny-write;
      if-feature "tls-server-keepalives";
      presence "In

[INF]: LN: Session 1: sending message:

#983


[INF]: LN: Session 1: sending message:
dicates that keepalives are enabled.";
      description
        "Configures the keep-alive policy, to proactively test
         the aliveness of the TLS client.  An unresponsive
         TLS client is dropped after approximately max-wait
         * max-attempts seconds.";
      leaf max-wait {
        type uint16 {
          range "1..max";
        }
        units "seconds";
        default "30";
        description
          "Sets the amount of time in seconds after which if
           no data has been received from the TLS client, a
           TLS-level message will be sent to test the
           aliveness of the TLS client.";
      }

      leaf max-attempts {
        type uint8;
        default "3";
        description
          "Sets the maximum number of sequential keep-alive
           messages that can fail to obtain a response from
           the TLS client before assuming the TLS client is
           no longer alive.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="33"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-truststore</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-truststore" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="33"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-truststore {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-truststore";
  prefix ts;

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  import ietf-crypto-types {
    prefix ct;
    reference
      "RFC YYYY: Common YANG Data Types for Cryptography";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;";
  description
    "This module defines a truststore to centralize management
     of trust anchors including both X.509 certificates and
     SSH host keys.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: A YANG Data Model for a Truststore";
  }

  feature truststore-supported {
    descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
      "The 'truststore-supported' feature indicates that the
       server supports the truststore.";
  }

  feature local-definitions-supported {
    description
      "The 'local-definitions-supported' feature indicates that
       the server supports locally-defined trust anchors.";
  }

  feature x509-certificates {
    description
      "The 'x509-certificates' feature indicates that the server
       implements the /truststore/certificates subtree.";
  }

  feature ssh-host-keys {
    description
      "The 'ssh-host-keys' feature indicates that the server
       implements the /truststore/host-keys subtree.";
  }

  typedef certificates-ref {
    type leafref {
      path "/ts:truststore/ts:certificates/ts:name";
    }
    description
      "This typedef enables modules to easily define a reference
       to a set of certificates  defined in the truststore.";
  }

  typedef host-keys-ref {
    type leafref {
      path "/ts:truststore/ts:host-keys/ts:name";
    }
    description
      "This typedef

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
enables modules to easily define a reference
       to a set of host keys defined in the truststore.";
  }

  grouping local-or-truststore-certs-grouping {
    description
      "A grouping that expands to allow trust anchors to be
       either stored locally, within the using data model, or be
       a reference to trust anchors stored in the truststore.";
    choice local-or-truststore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the truststore.";
      case local {
        if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local trust anchor definitions.
             A list is defined so as to be symmetric with the
             truststore definition.";
          uses ct:trust-anchor-certs-grouping;
        }
      }

      case truststore {
        if-feature "truststore-supported";
        if-feature "x509-certificates";
        leaf tr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
uststore-reference {
          type certificates-ref;
          description
            "A reference to a set of trust anchors that exists
             in the truststore.";
        }
      }
    }
  }

  grouping local-or-truststore-host-keys-grouping {
    description
      "A grouping that expands to allow trust anchors to be
       either stored locally, within the using data model, or be
       a reference to trust anchors stored in the truststore.";
    choice local-or-truststore {
      mandatory true;
      description
        "A choice between an inlined definition and a definition
         that exists in the truststore.";
      case local {
        if-feature "local-definitions-supported";
        container local-definition {
          description
            "Container to hold the local trust anchor definitions.
             A list is defined so as to be symmetric with the
             truststore definition.";
          leaf-list host-key {
            nacm:default-deny-write;
            type ct:ss

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
h-host-key;
            description
              "The binary data for this host key.";
            reference
              "RFC YYYY: Common YANG Data Types for Cryptography";
          }

          uses ct:trust-anchor-certs-grouping;
        }
      }

      case truststore {
        if-feature "truststore-supported";
        if-feature "ssh-host-keys";
        leaf truststore-reference {
          type host-keys-ref;
          description
            "A reference to a set of trust anchors that exists
             in the truststore.";
        }
      }
    }
  }

  grouping truststore-grouping {
    description
      "Grouping definition enables use in other contexts.  If ever
       done, implementations SHOULD augment new 'case' statements
       into local-or-keystore 'choice' statements to supply leafrefs
       to the new location.";
    list certificates {
      if-feature "x509-certificates";
      key "name";
      description
        "A list of certificates.  These certificates can be
         use

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d by a server to authenticate clients, or by a client
         to authenticate servers.  Each list of certificates
         SHOULD be specific to a purpose, as the list as a whole
         may be referenced by other modules.  For instance, a
         RESTCONF server's configuration might use a specific list
         of certificates for when authenticating RESTCONF
         client connections.";
      leaf name {
        type string;
        description
          "An arbitrary name for this list of certificates.";
      }

      leaf description {
        type string;
        description
          "An arbitrary description for this list of
           certificates.";
      }

      list certificate {
        key "name";
        description
          "A certificate.";
        leaf name {
          type string;
          description
            "An arbitrary name for this certificate. The
             name must be unique across all lists of
             certificates (not just this list) so that leafrefs


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    from another module can resolve to unique values.";
        }

        uses ct:trust-anchor-cert-grouping {
          refine "cert" {
            mandatory true;
          }
        }
      }
    }

    list host-keys {
      if-feature "ssh-host-keys";
      key "name";
      description
        "A list of host keys.  These host-keys can
         be used by clients to authenticate SSH servers.  Each
         list of host keys SHOULD be specific to a purpose,
         so the list as a whole may be referenced by other modules.
         For instance, a NETCONF client's configuration might
         point to a specific list of host keys for when
         authenticating specific SSH servers.";
      leaf name {
        type string;
        description
          "An arbitrary name for this list of SSH
           host keys.";
      }

      leaf description {
        type string;
        description
          "An arbitrary description for this list of SSH
           host keys.";
      }

      list host-key {


[INF]: LN: Session 1: sending message:

#860


[INF]: LN: Session 1: sending message:
      key "name";
        description
          "A host key.";
        leaf name {
          type string;
          description
            "An arbitrary name for this host-key. Must be
             unique across all lists of host-keys (not just
             this list) so that a leafref to it from another module
             can resolve to unique values.";
        }

        leaf host-key {
          type ct:ssh-host-key;
          mandatory true;
          description
            "The binary public key data for this host key.";
          reference
            "RFC YYYY: Common YANG Data Types for Cryptography";
        }
      }
    }
  }

  container truststore {
    nacm:default-deny-write;
    description
      "The truststore contains sets of X.509 certificates and
       SSH host keys.";
    uses truststore-grouping;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="34"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-tcp-client</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-tcp-client" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="34"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-tcp-client {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-tcp-client";
  prefix tcpc;

  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-tcp-common {
    prefix tcpcmn;
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group and the
     IETF TCP Maintenance and Minor Extensions (TCPM) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
               &lt;http://datatracker.ietf.org/wg/tcpm/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
               &lt;mailto:tcpm@ietf.org&gt;
     Authors:  Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
               Michael Scharf
               &lt;mailto:michael.scharf@hs-esslingen.de&gt;"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
  description
    "This module defines reusable groupings for TCP clients that
     can be used as a basis for specific TCP client instances.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nly when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  feature local-binding-supported {
    description
      "Indicates that the server supports configuring local
       bindings (i.e., the local address and local port) for
       TCP clients.";
  }

  feature tcp-client-keepalives {
    description
      "Per socket TCP keepalive parameters are configurable for
       TCP clients on the server implementing this feature.";
  }

  grouping tcp-client-grouping {
    description
      "A reusable grouping for configuring a TCP client.

       Note that this grouping uses fairly typical descendent
       node names such that a stack of 'uses' statements will
       have name conflicts.  It is intended that the consuming
       data model will resolve the issue (e.g., by wrapping
       the 'uses' statement in a container called
       'tcp-client-paramete

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rs').  This model purposely does
       not do this itself so as to provide maximum flexibility
       to consuming models.";
    leaf remote-address {
      type inet:host;
      mandatory true;
      description
        "The IP address or hostname of the remote peer to
         establish a connection with.  If a domain name is
         configured, then the DNS resolution should happen on
         each connection attempt.  If the the DNS resolution
         results in multiple IP addresses, the IP addresses
         are tried according to local preference order until
         a connection has been established or until all IP
         addresses have failed.";
    }

    leaf remote-port {
      type inet:port-number;
      default "0";
      description
        "The IP port number for the remote peer to establish a
         connection with.  An invalid default value (0) is used
         (instead of 'mandatory true') so that as application
         level data model may 'refine' it with an application


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
specific default port number value.";
    }

    leaf local-address {
      if-feature "local-binding-supported";
      type inet:ip-address;
      description
        "The local IP address/interface (VRF?) to bind to for when
         connecting to the remote peer.  INADDR_ANY ('0.0.0.0') or
         INADDR6_ANY ('0:0:0:0:0:0:0:0' a.k.a. '::') MAY be used to
         explicitly indicate the implicit default, that the server
         can bind to any IPv4 or IPv6 addresses, respectively.";
    }

    leaf local-port {
      if-feature "local-binding-supported";
      type inet:port-number;
      default "0";
      description
        "The local IP port number to bind to for when connecting
         to the remote peer.  The port number '0', which is the
         default value, indicates that any available local port
         number may be used.";
    }

    uses tcpcmn:tcp-connection-grouping {
      augment "keepalives" {
        if-feature "tcp-client-keepalives";
        description
          "Add an if-feat

[INF]: LN: Session 1: sending message:

#135


[INF]: LN: Session 1: sending message:
ure statement so that implementations
           can choose to support TCP client keepalives.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="35"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-tcp-common</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-tcp-common" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="35"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-tcp-common {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-tcp-common";
  prefix tcpcmn;

  organization
    "IETF NETCONF (Network Configuration) Working Group and the
     IETF TCP Maintenance and Minor Extensions (TCPM) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
               &lt;http://datatracker.ietf.org/wg/tcpm/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
               &lt;mailto:tcpm@ietf.org&gt;
     Authors:  Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
               Michael Scharf
               &lt;mailto:michael.scharf@hs-esslingen.de&gt;";
  description
    "This module defines reusable groupings for TCP commons that
     can be used as a basis for specific TCP common instances.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  feature keepalives-s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
upported {
    description
      "Indicates that keepalives are supported.";
  }

  grouping tcp-common-grouping {
    description
      "A reusable grouping for configuring TCP parameters common
       to TCP connections as well as the operating system as a
       whole.";
    container keepalives {
      if-feature "keepalives-supported";
      presence "Indicates that keepalives are enabled.";
      description
        "Configures the keep-alive policy, to proactively test the
         aliveness of the TCP peer.  An unresponsive TCP peer is
         dropped after approximately (idle-time * 60) + (max-probes
         * probe-interval) seconds.";
      leaf idle-time {
        type uint16 {
          range "1..max";
        }
        units "seconds";
        mandatory true;
        description
          "Sets the amount of time after which if no data has been
           received from the TCP peer, a TCP-level probe message
           will be sent to test the aliveness of the TCP peer.";
      }

      leaf m

[INF]: LN: Session 1: sending message:

#751


[INF]: LN: Session 1: sending message:
ax-probes {
        type uint16 {
          range "1..max";
        }
        mandatory true;
        description
          "Sets the maximum number of sequential keep-alive probes
           that can fail to obtain a response from the TCP peer
           before assuming the TCP peer is no longer alive.";
      }

      leaf probe-interval {
        type uint16 {
          range "1..max";
        }
        units "seconds";
        mandatory true;
        description
          "Sets the time interval between failed probes.";
      }
    }
  }

  grouping tcp-connection-grouping {
    description
      "A reusable grouping for configuring TCP parameters common
       to TCP connections.";
    uses tcp-common-grouping;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="36"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-tcp-server</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-tcp-server" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="36"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-tcp-server {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-tcp-server";
  prefix tcps;

  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-tcp-common {
    prefix tcpcmn;
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group and the
     IETF TCP Maintenance and Minor Extensions (TCPM) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
               &lt;http://datatracker.ietf.org/wg/tcpm/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
               &lt;mailto:tcpm@ietf.org&gt;
     Authors:  Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
               Michael Scharf
               &lt;mailto:michael.scharf@hs-esslingen.de&gt;"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
  description
    "This module defines reusable groupings for TCP servers that
     can be used as a basis for specific TCP server instances.
     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and on

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ly when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  feature tcp-server-keepalives {
    description
      "Per socket TCP keepalive parameters are configurable for
       TCP servers on the server implementing this feature.";
  }

  grouping tcp-server-grouping {
    description
      "A reusable grouping for configuring a TCP server.

       Note that this grouping uses fairly typical descendent
       node names such that a stack of 'uses' statements will
       have name conflicts.  It is intended that the consuming
       data model will resolve the issue (e.g., by wrapping
       the 'uses' statement in a container called
       'tcp-server-parameters').  This model purposely does
       not do this itself so as to provide maximum flexibility
       to consuming models.";
    leaf local-address {
      type inet:ip-address;
      mandatory true;


[INF]: LN: Session 1: sending message:

#984


[INF]: LN: Session 1: sending message:
      description
        "The local IP address to listen on for incoming
         TCP client connections.  INADDR_ANY (0.0.0.0) or
         INADDR6_ANY (0:0:0:0:0:0:0:0 a.k.a. ::) MUST be
         used when the server is to listen on all IPv4 or
         IPv6 addresses, respectively.";
    }

    leaf local-port {
      type inet:port-number;
      default "0";
      description
        "The local port number to listen on for incoming TCP
         client connections.  An invalid default value (0)
         is used (instead of 'mandatory true') so that an
         application level data model may 'refine' it with
         an application specific default port number value.";
    }

    uses tcpcmn:tcp-connection-grouping {
      augment "keepalives" {
        if-feature "tcp-server-keepalives";
        description
          "Add an if-feature statement so that implementations
           can choose to support TCP server keepalives.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="37"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-netconf-server</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-netconf-server" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="37"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-netconf-server {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-server";
  prefix ncs;

  import ietf-yang-types {
    prefix yang;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-x509-cert-to-name {
    prefix x509c2n;
    reference
      "RFC 7407: A YANG Data Model for SNMP Configuration";
  }

  import ietf-tcp-client {
    prefix tcpc;
    reference
      "RFC AAAA: YANG Groupings for TCP Clients and TCP Servers";
  }

  import ietf-tcp-server {
    prefix tcps;
    reference
      "RFC AAAA: YANG Groupings for TCP Clients and TCP Servers";
  }

  import ietf-ssh-server {
    prefix sshs;
    revision-date 2019-07-02;
    reference
      "RFC BBBB: YANG Groupings for SSH Clients and SSH Servers";
  }

  import ietf-tls-server {
    prefix tlss;
    revision-date 2019-07-02;
    reference
      "RFC CC

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
CC: YANG Groupings for TLS Clients and TLS Servers";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
     Author:   Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
     Author:   Gary Wu &lt;mailto:garywu@cisco.com&gt;
     Author:   Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;";
  description
    "This module contains a collection of YANG definitions
     for configuring NETCONF servers.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.or

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
g/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and only when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: NETCONF Client and Server Models";
  }

  feature ssh-listen {
    description
      "The 'ssh-listen' feature indicates that the NETCONF server
       supports opening a port to accept NETCONF over SSH
       client connections.";
    reference
      "RFC 6242:
         Using the NETCONF Protocol over Secure Shell (SSH)";
  }

  feature tls-listen {
    description
      "The 'tls-listen' feature indicates that the NETC

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ONF server
       supports opening a port to accept NETCONF over TLS
       client connections.";
    reference
      "RFC 7589: Using the NETCONF Protocol over Transport
                 Layer Security (TLS) with Mutual X.509
                 Authentication";
  }

  feature ssh-call-home {
    description
      "The 'ssh-call-home' feature indicates that the NETCONF
       server supports initiating a NETCONF over SSH call
       home connection to NETCONF clients.";
    reference
      "RFC 8071: NETCONF Call Home and RESTCONF Call Home";
  }

  feature tls-call-home {
    description
      "The 'tls-call-home' feature indicates that the NETCONF
       server supports initiating a NETCONF over TLS call
       home connection to NETCONF clients.";
    reference
      "RFC 8071: NETCONF Call Home and RESTCONF Call Home";
  }

  grouping netconf-server-grouping {
    description
      "Top-level grouping for NETCONF server configuration.";
    container listen {
      if-feature "ssh-listen or tls-listen";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   presence "Enables server to listen for NETCONF client connections.";
      description
        "Configures listen behavior";
      leaf idle-timeout {
        type uint16;
        units "seconds";
        default "3600";
        description
          "Specifies the maximum number of seconds that a NETCONF
           session may remain idle. A NETCONF session will be
           dropped if it is idle for an interval longer than this
           number of seconds.  If set to zero, then the server
           will never drop a session because it is idle.  Sessions
           that have a notification subscription active are never
           dropped.";
      }

      list endpoint {
        key "name";
        min-elements 1;
        description
          "List of endpoints to listen for NETCONF connections.";
        leaf name {
          type string;
          description
            "An arbitrary name for the NETCONF listen endpoint.";
        }

        choice transport {
          mandatory true;
          de

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
scription
            "Selects between available transports.";
          case ssh {
            if-feature "ssh-listen";
            container ssh {
              description
                "SSH-specific listening configuration for inbound
                 connections.";
              container tcp-server-parameters {
                description
                  "A wrapper around the TCP client parameters
                   to avoid name collisions.";
                uses tcps:tcp-server-grouping {
                  refine "local-port" {
                    default "830";
                    description
                      "The NETCONF server will listen on the
                       IANA-assigned well-known port value
                       for 'netconf-ssh' (830) if no value
                       is specified.";
                  }
                }
              }

              container ssh-server-parameters {
                description
                  "A wrapper around the SSH server parameters


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
                   to avoid name collisions.";
                uses sshs:ssh-server-grouping;
              }
            }
          }

          case tls {
            if-feature "tls-listen";
            container tls {
              description
                "TLS-specific listening configuration for inbound
                 connections.";
              container tcp-server-parameters {
                description
                  "A wrapper around the TCP client parameters
                   to avoid name collisions.";
                uses tcps:tcp-server-grouping {
                  refine "local-port" {
                    default "6513";
                    description
                      "The NETCONF server will listen on the
                       IANA-assigned well-known port value
                       for 'netconf-tls' (6513) if no value
                       is specified.";
                  }
                }
              }

              container tls-server-parameters {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  description
                  "A wrapper around the TLS server parameters to
                   avoid name collisions.";
                uses tlss:tls-server-grouping {
                  refine "client-authentication" {
                    description
                      "NETCONF/TLS servers MUST validate client
                       certificates.";
                  }
                  augment "client-authentication" {
                    description
                      "Augments in the cert-to-name structure.";
                    container cert-maps {
                      description
                        "The cert-maps container is used by a TLS-
                         based NETCONF server to map the NETCONF
                         client's presented X.509 certificate to
                         a NETCONF username.  If no matching and
                         valid cert-to-name list entry can be found,
                         then the NETCONF server MUST close the
                         co

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nnection, and MUST NOT accept NETCONF
                         messages over it.";
                      reference
                        "RFC WWWW: NETCONF over TLS, Section 7";
                      uses x509c2n:cert-to-name;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }

    container call-home {
      if-feature "ssh-call-home or tls-call-home";
      presence "Enables the NETCONF server to initiate the underlying
       transport connection to NETCONF clients.";
      description
        "Configures call home behavior.";
      list netconf-client {
        key "name";
        min-elements 1;
        description
          "List of NETCONF clients the NETCONF server is to
           initiate call-home connections to in parallel.";
        leaf name {
          type string;
          description
            "An arbitrary name for the remote NETCONF client.";
        }

        container endpoints {
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     "Container for the list of endpoints.";
          list endpoint {
            key "name";
            min-elements 1;
            ordered-by user;
            description
              "A non-empty user-ordered list of endpoints for this
               NETCONF server to try to connect to in sequence.
               Defining more than one enables high-availability.";
            leaf name {
              type string;
              description
                "An arbitrary name for this endpoint.";
            }

            choice transport {
              mandatory true;
              description
                "Selects between available transports.";
              case ssh {
                if-feature "ssh-call-home";
                container ssh {
                  description
                    "Specifies SSH-specific call-home transport
                     configuration.";
                  container tcp-client-parameters {
                    description
                      "A wrapper around t

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
he TCP client parameters
                       to avoid name collisions.";
                    uses tcpc:tcp-client-grouping {
                      refine "remote-port" {
                        default "4334";
                        description
                          "The NETCONF server will attempt to connect
                           to the IANA-assigned well-known port for
                           'netconf-ch-tls' (4334) if no value is
                           specified.";
                      }
                    }
                  }

                  container ssh-server-parameters {
                    description
                      "A wrapper around the SSH server parameters
                       to avoid name collisions.";
                    uses sshs:ssh-server-grouping;
                  }
                }
              }

              case tls {
                if-feature "tls-call-home";
                container tls {
                  description
                    "Speci

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
fies TLS-specific call-home transport
                     configuration.";
                  container tcp-client-parameters {
                    description
                      "A wrapper around the TCP client parameters
                       to avoid name collisions.";
                    uses tcpc:tcp-client-grouping {
                      refine "remote-port" {
                        default "4335";
                        description
                          "The NETCONF server will attempt to connect
                           to the IANA-assigned well-known port for
                           'netconf-ch-tls' (4335) if no value is
                           specified.";
                      }
                    }
                  }

                  container tls-server-parameters {
                    description
                      "A wrapper around the TLS server parameters
                       to avoid name collisions.";
                    uses tlss:tls-server-grouping {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
            refine "client-authentication" {
                        description
                          "NETCONF/TLS servers MUST validate client
                           certificates.";
                      }
                      augment "client-authentication" {
                        description
                          "Augments in the cert-to-name structure.";
                        container cert-maps {
                          description
                            "The cert-maps container is used by a
                             TLS-based NETCONF server to map the
                             NETCONF client's presented X.509
                             certificate to a NETCONF username.  If
                             no matching and valid cert-to-name list
                             entry can be found, then the NETCONF
                             server MUST close the connection, and
                             MUST NOT accept NETCONF messages over
                             it."

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
                          reference
                            "RFC WWWW: NETCONF over TLS, Section 7";
                          uses x509c2n:cert-to-name;
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }

        container connection-type {
          description
            "Indicates the NETCONF server's preference for how the
             NETCONF connection is maintained.";
          choice connection-type {
            mandatory true;
            description
              "Selects between available connection types.";
            case persistent-connection {
              container persistent {
                presence "Indicates that a persistent connection is
                 to be maintained.";
                description
                  "Maintain a persistent connection to the NETCONF
                   client. If the connection goes down, immediately
                   start trying t

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
o reconnect to the NETCONF client,
                   using the reconnection strategy.

                   This connection type minimizes any NETCONF client
                   to NETCONF server data-transfer delay, albeit at
                   the expense of holding resources longer.";
              }
            }

            case periodic-connection {
              container periodic {
                presence "Indicates that a periodic connection is
                 to be maintained.";
                description
                  "Periodically connect to the NETCONF client.

                   This connection type increases resource
                   utilization, albeit with increased delay in
                   NETCONF client to NETCONF client interactions.

                   The NETCONF client SHOULD gracefully close the
                   connection using &lt;close-session&gt; upon completing
                   planned activities.  If the NETCONF session is
                   not closed gracefully,

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
the NETCONF server MUST
                   immediately attempt to reestablish the connection.

                   In the case that the previous connection is still
                   active (i.e., the NETCONF client has not closed
                   it yet), establishing a new connection is NOT
                   RECOMMENDED.";
                leaf period {
                  type uint16;
                  units "minutes";
                  default "60";
                  description
                    "Duration of time between periodic connections.";
                }

                leaf anchor-time {
                  type yang:date-and-time {
                    pattern "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(Z|[\\+\\-]\\d{2}:\\d{2})";
                  }
                  description
                    "Designates a timestamp before or after which a
                     series of periodic connections are determined.
                     The periodic connections occur at a whole
                     multipl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e interval from the anchor time.  For
                     example, for an anchor time is 15 minutes past
                     midnight and a period interval of 24 hours, then
                     a periodic connection will occur 15 minutes past
                     midnight everyday.";
                }

                leaf idle-timeout {
                  type uint16;
                  units "seconds";
                  default "120";
                  description
                    "Specifies the maximum number of seconds that
                     a NETCONF session may remain idle. A NETCONF
                     session will be dropped if it is idle for an
                     interval longer than this number of seconds.
                     If set to zero, then the server will never
                     drop a session because it is idle.";
                }
              }
            }
          }
        }

        container reconnect-strategy {
          description
            "The reconnection stra

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tegy directs how a NETCONF server
             reconnects to a NETCONF client, after discovering its
             connection to the client has dropped, even if due to a
             reboot.  The NETCONF server starts with the specified
             endpoint and tries to connect to it max-attempts times
             before trying the next endpoint in the list (round
             robin).";
          leaf start-with {
            type enumeration {
              enum "first-listed" {
                description
                  "Indicates that reconnections should start with
                   the first endpoint listed.";
              }
              enum "last-connected" {
                description
                  "Indicates that reconnections should start with
                   the endpoint last connected to.  If no previous
                   connection has ever been established, then the
                   first endpoint configured is used.   NETCONF
                   servers SHOULD be able to rememb

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
er the last
                   endpoint connected to across reboots.";
              }
              enum "random-selection" {
                description
                  "Indicates that reconnections should start with
                   a random endpoint.";
              }
            }
            default "first-listed";
            description
              "Specifies which of the NETCONF client's endpoints
               the NETCONF server should start with when trying
               to connect to the NETCONF client.";
          }

          leaf max-attempts {
            type uint8 {
              range "1..max";
            }
            default "3";
            description
              "Specifies the number times the NETCONF server tries
               to connect to a specific endpoint before moving on
               to the next endpoint in the list (round robin).";
          }
        }
      }
    }
  }

  container netconf-server {
    description
      "Top-level container for NETCONF server co

[INF]: LN: Session 1: sending message:

#74


[INF]: LN: Session 1: sending message:
nfiguration.";
    uses netconf-server-grouping;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="38"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-x509-cert-to-name</identifier><version>2014-12-10</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-x509-cert-to-name" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="38"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-x509-cert-to-name {
  namespace "urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name";
  prefix x509c2n;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NETMOD (NETCONF Data Modeling Language) Working Group";
  contact
    "WG Web:   &lt;http://tools.ietf.org/wg/netmod/&gt;
     WG List:  &lt;mailto:netmod@ietf.org&gt;

     WG Chair: Thomas Nadeau
               &lt;mailto:tnadeau@lucidvision.com&gt;

     WG Chair: Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;

     Editor:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;

     Editor:   Juergen Schoenwaelder
               &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;";
  description
    "This module contains a collection of YANG definitions for
     extracting a name from an X.509 certificate.
     The algorithm used

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 to extract a name from an X.509 certificate
     was first defined in RFC 6353.

     Copyright (c) 2014 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 7407; see
     the RFC itself for full legal notices.";
  reference
    "RFC 6353: Transport Layer Security (TLS) Transport Model for
       the Simple Network Management Protocol (SNMP)";

  revision 2014-12-10 {
    description
      "Initial revision.";
    reference
      "RFC 7407: A YANG Data Model for SNMP Configuration";
  }

  identity cert-to-name {
    description
      "Base identity for algorithms to derive a name fro

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
m a
       certificate.";
  }

  identity specified {
    base cert-to-name;
    description
      "Directly specifies the name to be used for the certificate.
       The value of the leaf 'name' in the cert-to-name list is
       used.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSpecified";
  }

  identity san-rfc822-name {
    base cert-to-name;
    description
      "Maps a subjectAltName's rfc822Name to a name.  The local part
       of the rfc822Name is passed unaltered, but the host-part of
       the name must be passed in lowercase.  For example, the
       rfc822Name field FooBar@Example.COM is mapped to name
       FooBar@example.com.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSANRFC822Name";
  }

  identity san-dns-name {
    base cer

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t-to-name;
    description
      "Maps a subjectAltName's dNSName to a name after first
       converting it to all lowercase (RFC 5280 does not specify
       converting to lowercase, so this involves an extra step).
       This mapping results in a 1:1 correspondence between
       subjectAltName dNSName values and the name values.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSANDNSName";
  }

  identity san-ip-address {
    base cert-to-name;
    description
      "Maps a subjectAltName's iPAddress to a name by
       transforming the binary-encoded address as follows:

         1) for IPv4, the value is converted into a
            decimal-dotted quad address (e.g., '192.0.2.1').

         2) for IPv6 addresses, the value is converted into a
            32-character, all-lowercase hexadecimal string
            without any colon separators.

       This mapping results in a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
1:1 correspondence between
       subjectAltName iPAddress values and the name values.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSANIpAddress";
  }

  identity san-any {
    base cert-to-name;
    description
      "Maps any of the following fields using the corresponding
       mapping algorithms:

         +------------+-----------------+
         | Type       | Algorithm       |
         |------------+-----------------|
         | rfc822Name | san-rfc822-name |
         | dNSName    | san-dns-name    |
         | iPAddress  | san-ip-address  |
         +------------+-----------------+

       The first matching subjectAltName value found in the
       certificate of the above types MUST be used when deriving
       the name.  The mapping algorithm specified in the
       'Algorithm' column MUST be used to derive the name.

       This mapping results in a 1:1 correspondenc

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e between
       subjectAltName values and name values.  The three sub-mapping
       algorithms produced by this combined algorithm cannot produce
       conflicting results between themselves.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertSANAny";
  }

  identity common-name {
    base cert-to-name;
    description
      "Maps a certificate's CommonName to a name after converting
       it to a UTF-8 encoding.  The usage of CommonNames is
       deprecated, and users are encouraged to use subjectAltName
       mapping methods instead.  This mapping results in a 1:1
       correspondence between certificate CommonName values and name
       values.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.snmpTlstmCertCommonName";
  }

  typedef tls-fingerprint {
    type y

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ang:hex-string {
      pattern "([0-9a-fA-F]){2}(:([0-9a-fA-F]){2}){0,254}";
    }
    description
      "A fingerprint value that can be used to uniquely reference
       other data of potentially arbitrary length.

       A tls-fingerprint value is composed of a 1-octet hashing
       algorithm identifier followed by the fingerprint value.  The
       first octet value identifying the hashing algorithm is taken
       from the IANA 'TLS HashAlgorithm Registry' (RFC 5246).  The
       remaining octets are filled using the results of the hashing
       algorithm.";
    reference
      "RFC 6353: Transport Layer Security (TLS) Transport Model
         for the Simple Network Management Protocol (SNMP).
         SNMP-TLS-TM-MIB.SnmpTLSFingerprint";
  }

  grouping cert-to-name {
    description
      "Defines nodes for mapping certificates to names.  Modules
       that use this grouping should describe how the resulting
       name is used.";
    list cert-to-name {
      key "id";
      description
        "Th

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
is list defines how certificates are mapped to names.
         The name is derived by considering each cert-to-name
         list entry in order.  The cert-to-name entry's fingerprint
         determines whether the list entry is a match:

         1) If the cert-to-name list entry's fingerprint value
            matches that of the presented certificate, then consider
            the list entry a successful match.

         2) If the cert-to-name list entry's fingerprint value
            matches that of a locally held copy of a trusted CA
            certificate, and that CA certificate was part of the CA
            certificate chain to the presented certificate, then
            consider the list entry a successful match.

         Once a matching cert-to-name list entry has been found, the
         map-type is used to determine how the name associated with
         the certificate should be determined.  See the map-type
         leaf's description for details on determining the name value.
         If it

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 is impossible to determine a name from the cert-to-name
         list entry's data combined with the data presented in the
         certificate, then additional cert-to-name list entries MUST
         be searched to look for another potential match.

         Security administrators are encouraged to make use of
         certificates with subjectAltName fields that can be mapped to
         names so that a single root CA certificate can allow all
         child certificates' subjectAltName fields to map directly to
         a name via a 1:1 transformation.";
      reference
        "RFC 6353: Transport Layer Security (TLS) Transport Model
           for the Simple Network Management Protocol (SNMP).
           SNMP-TLS-TM-MIB.snmpTlstmCertToTSNEntry";
      leaf id {
        type uint32;
        description
          "The id specifies the order in which the entries in the
           cert-to-name list are searched.  Entries with lower
           numbers are searched first.";
        reference
          "RFC 6

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
353: Transport Layer Security (TLS) Transport Model
             for the Simple Network Management Protocol
             (SNMP).
             SNMP-TLS-TM-MIB.snmpTlstmCertToTSNID";
      }

      leaf fingerprint {
        type tls-fingerprint;
        mandatory true;
        description
          "Specifies a value with which the fingerprint of the
           full certificate presented by the peer is compared.  If
           the fingerprint of the full certificate presented by the
           peer does not match the fingerprint configured, then the
           entry is skipped, and the search for a match continues.";
        reference
          "RFC 6353: Transport Layer Security (TLS) Transport Model
             for the Simple Network Management Protocol
             (SNMP).
             SNMP-TLS-TM-MIB.snmpTlstmCertToTSNFingerprint";
      }

      leaf map-type {
        type identityref {
          base cert-to-name;
        }
        mandatory true;
        description
          "Specifies the algorithm

[INF]: LN: Session 1: sending message:

#956


[INF]: LN: Session 1: sending message:
used to map the certificate
           presented by the peer to a name.

           Mappings that need additional configuration objects should
           use the 'when' statement to make them conditional based on
           the map-type.";
        reference
          "RFC 6353: Transport Layer Security (TLS) Transport Model
             for the Simple Network Management Protocol
             (SNMP).
             SNMP-TLS-TM-MIB.snmpTlstmCertToTSNMapType";
      }

      leaf name {
        when "../map-type = 'x509c2n:specified'";
        type string;
        mandatory true;
        description
          "Directly specifies the NETCONF username when the
           map-type is 'specified'.";
        reference
          "RFC 6353: Transport Layer Security (TLS) Transport Model
             for the Simple Network Management Protocol
             (SNMP).
             SNMP-TLS-TM-MIB.snmpTlstmCertToTSNData";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="39"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-tcp-client</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-tcp-client" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="39"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-tcp-client {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-tcp-client";
  prefix tcpc;

  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-tcp-common {
    prefix tcpcmn;
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group and the
     IETF TCP Maintenance and Minor Extensions (TCPM) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
               &lt;http://datatracker.ietf.org/wg/tcpm/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
               &lt;mailto:tcpm@ietf.org&gt;
     Authors:  Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
               Michael Scharf
               &lt;mailto:michael.scharf@hs-esslingen.de&gt;"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
  description
    "This module defines reusable groupings for TCP clients that
     can be used as a basis for specific TCP client instances.

     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nly when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  feature local-binding-supported {
    description
      "Indicates that the server supports configuring local
       bindings (i.e., the local address and local port) for
       TCP clients.";
  }

  feature tcp-client-keepalives {
    description
      "Per socket TCP keepalive parameters are configurable for
       TCP clients on the server implementing this feature.";
  }

  grouping tcp-client-grouping {
    description
      "A reusable grouping for configuring a TCP client.

       Note that this grouping uses fairly typical descendent
       node names such that a stack of 'uses' statements will
       have name conflicts.  It is intended that the consuming
       data model will resolve the issue (e.g., by wrapping
       the 'uses' statement in a container called
       'tcp-client-paramete

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rs').  This model purposely does
       not do this itself so as to provide maximum flexibility
       to consuming models.";
    leaf remote-address {
      type inet:host;
      mandatory true;
      description
        "The IP address or hostname of the remote peer to
         establish a connection with.  If a domain name is
         configured, then the DNS resolution should happen on
         each connection attempt.  If the the DNS resolution
         results in multiple IP addresses, the IP addresses
         are tried according to local preference order until
         a connection has been established or until all IP
         addresses have failed.";
    }

    leaf remote-port {
      type inet:port-number;
      default "0";
      description
        "The IP port number for the remote peer to establish a
         connection with.  An invalid default value (0) is used
         (instead of 'mandatory true') so that as application
         level data model may 'refine' it with an application


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
specific default port number value.";
    }

    leaf local-address {
      if-feature "local-binding-supported";
      type inet:ip-address;
      description
        "The local IP address/interface (VRF?) to bind to for when
         connecting to the remote peer.  INADDR_ANY ('0.0.0.0') or
         INADDR6_ANY ('0:0:0:0:0:0:0:0' a.k.a. '::') MAY be used to
         explicitly indicate the implicit default, that the server
         can bind to any IPv4 or IPv6 addresses, respectively.";
    }

    leaf local-port {
      if-feature "local-binding-supported";
      type inet:port-number;
      default "0";
      description
        "The local IP port number to bind to for when connecting
         to the remote peer.  The port number '0', which is the
         default value, indicates that any available local port
         number may be used.";
    }

    uses tcpcmn:tcp-connection-grouping {
      augment "keepalives" {
        if-feature "tcp-client-keepalives";
        description
          "Add an if-feat

[INF]: LN: Session 1: sending message:

#135


[INF]: LN: Session 1: sending message:
ure statement so that implementations
           can choose to support TCP client keepalives.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="40"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-tcp-server</identifier><version>2019-07-02</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-tcp-server" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="40"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-tcp-server {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-tcp-server";
  prefix tcps;

  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }

  import ietf-tcp-common {
    prefix tcpcmn;
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  organization
    "IETF NETCONF (Network Configuration) Working Group and the
     IETF TCP Maintenance and Minor Extensions (TCPM) Working Group";
  contact
    "WG Web:   &lt;http://datatracker.ietf.org/wg/netconf/&gt;
               &lt;http://datatracker.ietf.org/wg/tcpm/&gt;
     WG List:  &lt;mailto:netconf@ietf.org&gt;
               &lt;mailto:tcpm@ietf.org&gt;
     Authors:  Kent Watsen &lt;mailto:kent+ietf@watsen.net&gt;
               Michael Scharf
               &lt;mailto:michael.scharf@hs-esslingen.de&gt;"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
  description
    "This module defines reusable groupings for TCP servers that
     can be used as a basis for specific TCP server instances.
     Copyright (c) 2019 IETF Trust and the persons identified
     as authors of the code. All rights reserved.

     Redistribution and use in source and binary forms, with
     or without modification, is permitted pursuant to, and
     subject to the license terms contained in, the Simplified
     BSD License set forth in Section 4.c of the IETF Trust's
     Legal Provisions Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); see the RFC
     itself for full legal notices.;

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
     'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED',
     'NOT RECOMMENDED', 'MAY', and 'OPTIONAL' in this document
     are to be interpreted as described in BCP 14 (RFC 2119)
     (RFC 8174) when, and on

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ly when, they appear in all
     capitals, as shown here.";

  revision 2019-07-02 {
    description
      "Initial version";
    reference
      "RFC XXXX: YANG Groupings for TCP Clients and TCP Servers";
  }

  feature tcp-server-keepalives {
    description
      "Per socket TCP keepalive parameters are configurable for
       TCP servers on the server implementing this feature.";
  }

  grouping tcp-server-grouping {
    description
      "A reusable grouping for configuring a TCP server.

       Note that this grouping uses fairly typical descendent
       node names such that a stack of 'uses' statements will
       have name conflicts.  It is intended that the consuming
       data model will resolve the issue (e.g., by wrapping
       the 'uses' statement in a container called
       'tcp-server-parameters').  This model purposely does
       not do this itself so as to provide maximum flexibility
       to consuming models.";
    leaf local-address {
      type inet:ip-address;
      mandatory true;


[INF]: LN: Session 1: sending message:

#984


[INF]: LN: Session 1: sending message:
      description
        "The local IP address to listen on for incoming
         TCP client connections.  INADDR_ANY (0.0.0.0) or
         INADDR6_ANY (0:0:0:0:0:0:0:0 a.k.a. ::) MUST be
         used when the server is to listen on all IPv4 or
         IPv6 addresses, respectively.";
    }

    leaf local-port {
      type inet:port-number;
      default "0";
      description
        "The local port number to listen on for incoming TCP
         client connections.  An invalid default value (0)
         is used (instead of 'mandatory true') so that an
         application level data model may 'refine' it with
         an application specific default port number value.";
    }

    uses tcpcmn:tcp-connection-grouping {
      augment "keepalives" {
        if-feature "tcp-server-keepalives";
        description
          "Add an if-feature statement so that implementations
           can choose to support TCP server keepalives.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="41"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>iana-hardware</identifier><version>2018-03-13</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "iana-hardware" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="41"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module iana-hardware {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:iana-hardware";
  prefix ianahw;

  organization
    "IANA";
  contact
    "        Internet Assigned Numbers Authority
     Postal: ICANN
             12025 Waterfront Drive, Suite 300
             Los Angeles, CA  90094-2536
             United States of America
     Tel:    +1 310 301 5800
     E-Mail: iana@iana.org&gt;";
  description
    "IANA-defined identities for hardware class.
     The latest revision of this YANG module can be obtained from
     the IANA website.
     Requests for new values should be made to IANA via
     email (iana@iana.org).
     Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and su

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
bject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).
     The initial version of this YANG module is part of RFC 8348;
     see the RFC itself for full legal notices.";
  reference
    "https://www.iana.org/assignments/yang-parameters";

  revision 2018-03-13 {
    description
      "Initial revision.";
    reference
      "RFC 8348: A YANG Data Model for Hardware Management";
  }

  identity hardware-class {
    description
      "This identity is the base for all hardware class
       identifiers.";
  }

  identity unknown {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is unknown
       to the server.";
  }

  identity chassis {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is an
       overall container for networking equipment.  Any class o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
f
       physical component, except a stack, may be contained within a
       chassis; a chassis may only be contained within a stack.";
  }

  identity backplane {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of device for aggregating and forwarding networking traffic,
       such as a shared backplane in a modular ethernet switch.  Note
       that an implementation may model a backplane as a single
       physical component, which is actually implemented as multiple
       discrete physical components (within a chassis or stack).";
  }

  identity container {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is capable
       of containing one or more removable physical entities,
       possibly of different types.  For example, each (empty or
       full) slot in a chassis will be modeled as a container.  Note
       that all removable physical components should be modeled
       within

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 a container component, such as field-replaceable
       modules, fans, or power supplies.  Note that all known
       containers should be modeled by the agent, including empty
       containers.";
  }

  identity power-supply {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is a
       power-supplying component.";
  }

  identity fan {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is a fan or
       other heat-reduction component.";
  }

  identity sensor {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of sensor, such as a temperature sensor within a router
       chassis.";
  }

  identity module {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of self-contained sub-system.  If a module component is
       removable, then it should be modeled within a container


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    component; otherwise, it should be modeled directly within
       another physical component (e.g., a chassis or another
       module).";
  }

  identity port {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of networking port capable of receiving and/or transmitting
       networking traffic.";
  }

  identity stack {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of super-container (possibly virtual) intended to group
       together multiple chassis entities.  A stack may be realized
       by a virtual cable, a real interconnect cable attached to
       multiple chassis, or multiple interconnect cables.  A stack
       should not be modeled within any other physical components,
       but a stack may be contained within another stack.  Only
       chassis components should be contained within a stack.";
  }

  identity cpu {
    base hardware-class;
    descrip

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tion
      "This identity is applicable if the hardware class is some sort
       of central processing unit.";
  }

  identity energy-object {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of energy object, i.e., it is a piece of equipment that is
       part of or attached to a communications network that is
       monitored, it is controlled, or it aids in the management of
       another device for Energy Management.";
  }

  identity battery {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of battery.";
  }

  identity storage-drive {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of component with data storage capability as its main
       functionality, e.g., hard disk drive (HDD), solid-state device
       (SSD), solid-state hybrid drive (SSHD), object storage device
       (OSD), or other."

[INF]: LN: Session 1: sending message:

#27


[INF]: LN: Session 1: sending message:
;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="42"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-interfaces</identifier><version>2018-02-20</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-interfaces" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="42"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-interfaces {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-interfaces";
  prefix if;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NETMOD (Network Modeling) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;
     WG List:  &lt;mailto:netmod@ietf.org&gt;
     Editor:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;";
  description
    "This module contains a collection of YANG definitions for
     managing network interfaces.
     Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
f the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).
     This version of this YANG module is part of RFC 8343; see
     the RFC itself for full legal notices.";

  revision 2018-02-20 {
    description
      "Updated to support NMDA.";
    reference
      "RFC 8343: A YANG Data Model for Interface Management";
  }
  revision 2014-05-08 {
    description
      "Initial revision.";
    reference
      "RFC 7223: A YANG Data Model for Interface Management";
  }

  feature arbitrary-names {
    description
      "This feature indicates that the device allows user-controlled
       interfaces to be named arbitrarily.";
  }

  feature pre-provisioning {
    description
      "This feature indicates that the device supports
       pre-provisioning of interface configuration, i.e., it is
       possible to configure an interface whose physical interface
       hardware is not present on the device.";
  }

  feature if-mib {
    description
      "This feat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ure indicates that the device implements
       the IF-MIB.";
    reference
      "RFC 2863: The Interfaces Group MIB";
  }

  identity interface-type {
    description
      "Base identity from which specific interface types are
       derived.";
  }

  typedef interface-ref {
    type leafref {
      path "/if:interfaces/if:interface/if:name";
    }
    description
      "This type is used by data models that need to reference
       interfaces.";
  }

  typedef interface-state-ref {
    type leafref {
      path "/if:interfaces-state/if:interface/if:name";
    }
    status deprecated;
    description
      "This type is used by data models that need to reference
       the operationally present interfaces.";
  }

  container interfaces {
    description
      "Interface parameters.";
    list interface {
      key "name";
      description
        "The list of interfaces on the device.
         The status of an interface is available in this list in the
         operational state.  If the configuration of

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a
         system-controlled interface cannot be used by the system
         (e.g., the interface hardware present does not match the
         interface type), then the configuration is not applied to
         the system-controlled interface shown in the operational
         state.  If the configuration of a user-controlled interface
         cannot be used by the system, the configured interface is
         not instantiated in the operational state.
         System-controlled interfaces created by the system are
         always present in this list in the operational state,
         whether or not they are configured.";
      leaf name {
        type string;
        description
          "The name of the interface.
           A device MAY restrict the allowed values for this leaf,
           possibly depending on the type of the interface.
           For system-controlled interfaces, this leaf is the
           device-specific name of the interface.
           If a client tries to create configuration for a


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
           system-controlled interface that is not present in the
           operational state, the server MAY reject the request if
           the implementation does not support pre-provisioning of
           interfaces or if the name refers to an interface that can
           never exist in the system.  A Network Configuration
           Protocol (NETCONF) server MUST reply with an rpc-error
           with the error-tag 'invalid-value' in this case.
           If the device supports pre-provisioning of interface
           configuration, the 'pre-provisioning' feature is
           advertised.
           If the device allows arbitrarily named user-controlled
           interfaces, the 'arbitrary-names' feature is advertised.
           When a configured user-controlled interface is created by
           the system, it is instantiated with the same name in the
           operational state.
           A server implementation MAY map this leaf to the ifName
           MIB object.  Such an implementation need

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
s to use some
           mechanism to handle the differences in size and characters
           allowed between this leaf and ifName.  The definition of
           such a mechanism is outside the scope of this document.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifName";
      }

      leaf description {
        type string;
        description
          "A textual description of the interface.
           A server implementation MAY map this leaf to the ifAlias
           MIB object.  Such an implementation needs to use some
           mechanism to handle the differences in size and characters
           allowed between this leaf and ifAlias.  The definition of
           such a mechanism is outside the scope of this document.
           Since ifAlias is defined to be stored in non-volatile
           storage, the MIB implementation MUST map ifAlias to the
           value of 'description' in the persistently stored
           configuration.";
        reference
          "RFC 2863: The

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 Interfaces Group MIB - ifAlias";
      }

      leaf type {
        type identityref {
          base interface-type;
        }
        mandatory true;
        description
          "The type of the interface.
           When an interface entry is created, a server MAY
           initialize the type leaf with a valid value, e.g., if it
           is possible to derive the type from the name of the
           interface.
           If a client tries to set the type of an interface to a
           value that can never be used by the system, e.g., if the
           type is not supported or if the type does not match the
           name of the interface, the server MUST reject the request.
           A NETCONF server MUST reply with an rpc-error with the
           error-tag 'invalid-value' in this case.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifType";
      }

      leaf enabled {
        type boolean;
        default "true";
        description
          "This leaf contains the confi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
gured, desired state of the
           interface.
           Systems that implement the IF-MIB use the value of this
           leaf in the intended configuration to set
           IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry
           has been initialized, as described in RFC 2863.
           Changes in this leaf in the intended configuration are
           reflected in ifAdminStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifAdminStatus";
      }

      leaf link-up-down-trap-enable {
        if-feature "if-mib";
        type enumeration {
          enum "enabled" {
            value 1;
            description
              "The device will generate linkUp/linkDown SNMP
               notifications for this interface.";
          }
          enum "disabled" {
            value 2;
            description
              "The device will not generate linkUp/linkDown SNMP
               notifications for this interface.";
          }
        }
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "Controls whether linkUp/linkDown SNMP notifications
           should be generated for this interface.
           If this node is not configured, the value 'enabled' is
           operationally used by the server for interfaces that do
           not operate on top of any other interface (i.e., there are
           no 'lower-layer-if' entries), and 'disabled' otherwise.";
        reference
          "RFC 2863: The Interfaces Group MIB -
                     ifLinkUpDownTrapEnable";
      }

      leaf admin-status {
        if-feature "if-mib";
        type enumeration {
          enum "up" {
            value 1;
            description
              "Ready to pass packets.";
          }
          enum "down" {
            value 2;
            description
              "Not ready to pass packets and not in some test mode.";
          }
          enum "testing" {
            value 3;
            description
              "In some test mode.";
          }
        }
        config false;
        mandatory true

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
        description
          "The desired state of the interface.
           This leaf has the same read semantics as ifAdminStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifAdminStatus";
      }

      leaf oper-status {
        type enumeration {
          enum "up" {
            value 1;
            description
              "Ready to pass packets.";
          }
          enum "down" {
            value 2;
            description
              "The interface does not pass any packets.";
          }
          enum "testing" {
            value 3;
            description
              "In some test mode.  No operational packets can
               be passed.";
          }
          enum "unknown" {
            value 4;
            description
              "Status cannot be determined for some reason.";
          }
          enum "dormant" {
            value 5;
            description
              "Waiting for some external event.";
          }
          enum "not-present" {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
            value 6;
            description
              "Some component (typically hardware) is missing.";
          }
          enum "lower-layer-down" {
            value 7;
            description
              "Down due to state of lower-layer interface(s).";
          }
        }
        config false;
        mandatory true;
        description
          "The current operational state of the interface.
           This leaf has the same semantics as ifOperStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifOperStatus";
      }

      leaf last-change {
        type yang:date-and-time;
        config false;
        description
          "The time the interface entered its current operational
           state.  If the current state was entered prior to the
           last re-initialization of the local network management
           subsystem, then this node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifLastChange";
      }

      leaf if-i

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ndex {
        if-feature "if-mib";
        type int32 {
          range "1..2147483647";
        }
        config false;
        mandatory true;
        description
          "The ifIndex value for the ifEntry represented by this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifIndex";
      }

      leaf phys-address {
        type yang:phys-address;
        config false;
        description
          "The interface's address at its protocol sub-layer.  For
           example, for an 802.x interface, this object normally
           contains a Media Access Control (MAC) address.  The
           interface's media-specific modules must define the bit
           and byte ordering and the format of the value of this
           object.  For interfaces that do not have such an address
           (e.g., a serial line), this node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifPhysAddress";
      }

      leaf-list higher-layer-if {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     type interface-ref;
        config false;
        description
          "A list of references to interfaces layered on top of this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifStackTable";
      }

      leaf-list lower-layer-if {
        type interface-ref;
        config false;
        description
          "A list of references to interfaces layered underneath this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifStackTable";
      }

      leaf speed {
        type yang:gauge64;
        units "bits/second";
        config false;
        description
          "An estimate of the interface's current bandwidth in bits
           per second.  For interfaces that do not vary in
           bandwidth or for those where no accurate estimation can
           be made, this node should contain the nominal bandwidth.
           For interfaces that have no concept of bandwidth, this
           node is not present.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
reference
          "RFC 2863: The Interfaces Group MIB -
                     ifSpeed, ifHighSpeed";
      }

      container statistics {
        config false;
        description
          "A collection of interface-related statistics objects.";
        leaf discontinuity-time {
          type yang:date-and-time;
          mandatory true;
          description
            "The time on the most recent occasion at which any one or
             more of this interface's counters suffered a
             discontinuity.  If no such discontinuities have occurred
             since the last re-initialization of the local management
             subsystem, then this node contains the time the local
             management subsystem re-initialized itself.";
        }

        leaf in-octets {
          type yang:counter64;
          description
            "The total number of octets received on the interface,
             including framing characters.
             Discontinuities in the value of this counter can occ

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCInOctets";
        }

        leaf in-unicast-pkts {
          type yang:counter64;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were not addressed to a
             multicast or broadcast address at this sub-layer.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts";
        }

        leaf in-broadcast-pkts {
          type yang:counter64;
          description
            "The number of packets, delivered by this sub-layer to a


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  higher (sub-)layer, that were addressed to a broadcast
             address at this sub-layer.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCInBroadcastPkts";
        }

        leaf in-multicast-pkts {
          type yang:counter64;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were addressed to a multicast
             address at this sub-layer.  For a MAC-layer protocol,
             this includes both Group and Functional addresses.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCInMulticastPkts";
        }

        leaf in-discards {
          type yang:counter32;
          description
            "The number of inbound packets that were chosen to be
             discarded even though no errors had been detected to
             prevent their being deliverable to a higher-layer
             protocol.  One possible reason for discarding such a
             packet could be to free up buffer space.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInDiscards";
        }

        leaf in-errors {
          type yang:counter32;
          description
            "For packet-oriented interfaces, the number of inbound
             packets that containe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d errors preventing them from being
             deliverable to a higher-layer protocol.  For character-
             oriented or fixed-length interfaces, the number of
             inbound transmission units that contained errors
             preventing them from being deliverable to a higher-layer
             protocol.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInErrors";
        }

        leaf in-unknown-protos {
          type yang:counter32;
          description
            "For packet-oriented interfaces, the number of packets
             received via the interface that were discarded because
             of an unknown or unsupported protocol.  For
             character-oriented or fixed-length interfaces that
             support protocol multiplex

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ing, the number of
             transmission units received via the interface that were
             discarded because of an unknown or unsupported protocol.
             For any interface that does not support protocol
             multiplexing, this counter is not present.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInUnknownProtos";
        }

        leaf out-octets {
          type yang:counter64;
          description
            "The total number of octets transmitted out of the
             interface, including framing characters.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
         reference
            "RFC 2863: The Interfaces Group MIB - ifHCOutOctets";
        }

        leaf out-unicast-pkts {
          type yang:counter64;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were not addressed
             to a multicast or broadcast address at this sub-layer,
             including those that were discarded or not sent.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts";
        }

        leaf out-broadcast-pkts {
          type yang:counter64;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were addressed to a
             broadcast address

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 at this sub-layer, including those
             that were discarded or not sent.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCOutBroadcastPkts";
        }

        leaf out-multicast-pkts {
          type yang:counter64;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were addressed to a
             multicast address at this sub-layer, including those
             that were discarded or not sent.  For a MAC-layer
             protocol, this includes both Group and Functional
             addresses.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             othe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
r times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCOutMulticastPkts";
        }

        leaf out-discards {
          type yang:counter32;
          description
            "The number of outbound packets that were chosen to be
             discarded even though no errors had been detected to
             prevent their being transmitted.  One possible reason
             for discarding such a packet could be to free up buffer
             space.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifOutDiscards";
        }

        leaf out-errors {
          type yang:counter32;
          description
            "For packet-oriented interfaces, the num

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ber of outbound
             packets that could not be transmitted because of errors.
             For character-oriented or fixed-length interfaces, the
             number of outbound transmission units that could not be
             transmitted because of errors.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifOutErrors";
        }
      }
    }
  }

  container interfaces-state {
    config false;
    status deprecated;
    description
      "Data nodes for the operational state of interfaces.";
    list interface {
      key "name";
      status deprecated;
      description
        "The list of interfaces on the device.
         System-controlled interfaces created by the system are
         always present in this list, whether or not they are
         config

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ured.";
      leaf name {
        type string;
        status deprecated;
        description
          "The name of the interface.
           A server implementation MAY map this leaf to the ifName
           MIB object.  Such an implementation needs to use some
           mechanism to handle the differences in size and characters
           allowed between this leaf and ifName.  The definition of
           such a mechanism is outside the scope of this document.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifName";
      }

      leaf type {
        type identityref {
          base interface-type;
        }
        mandatory true;
        status deprecated;
        description
          "The type of the interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifType";
      }

      leaf admin-status {
        if-feature "if-mib";
        type enumeration {
          enum "up" {
            value 1;
            description
              "Ready to pass packets.";

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

          }
          enum "down" {
            value 2;
            description
              "Not ready to pass packets and not in some test mode.";
          }
          enum "testing" {
            value 3;
            description
              "In some test mode.";
          }
        }
        mandatory true;
        status deprecated;
        description
          "The desired state of the interface.
           This leaf has the same read semantics as ifAdminStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifAdminStatus";
      }

      leaf oper-status {
        type enumeration {
          enum "up" {
            value 1;
            description
              "Ready to pass packets.";
          }
          enum "down" {
            value 2;
            description
              "The interface does not pass any packets.";
          }
          enum "testing" {
            value 3;
            description
              "In some test mode.  No operational packets can


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       be passed.";
          }
          enum "unknown" {
            value 4;
            description
              "Status cannot be determined for some reason.";
          }
          enum "dormant" {
            value 5;
            description
              "Waiting for some external event.";
          }
          enum "not-present" {
            value 6;
            description
              "Some component (typically hardware) is missing.";
          }
          enum "lower-layer-down" {
            value 7;
            description
              "Down due to state of lower-layer interface(s).";
          }
        }
        mandatory true;
        status deprecated;
        description
          "The current operational state of the interface.
           This leaf has the same semantics as ifOperStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifOperStatus";
      }

      leaf last-change {
        type yang:date-and-time;
        status deprecated;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      "The time the interface entered its current operational
           state.  If the current state was entered prior to the
           last re-initialization of the local network management
           subsystem, then this node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifLastChange";
      }

      leaf if-index {
        if-feature "if-mib";
        type int32 {
          range "1..2147483647";
        }
        mandatory true;
        status deprecated;
        description
          "The ifIndex value for the ifEntry represented by this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifIndex";
      }

      leaf phys-address {
        type yang:phys-address;
        status deprecated;
        description
          "The interface's address at its protocol sub-layer.  For
           example, for an 802.x interface, this object normally
           contains a Media Access Control (MAC) address.  The
           interface's med

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ia-specific modules must define the bit
           and byte ordering and the format of the value of this
           object.  For interfaces that do not have such an address
           (e.g., a serial line), this node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifPhysAddress";
      }

      leaf-list higher-layer-if {
        type interface-state-ref;
        status deprecated;
        description
          "A list of references to interfaces layered on top of this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifStackTable";
      }

      leaf-list lower-layer-if {
        type interface-state-ref;
        status deprecated;
        description
          "A list of references to interfaces layered underneath this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifStackTable";
      }

      leaf speed {
        type yang:gauge64;
        units "bits/second";
        status deprecated;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
        description
          "An estimate of the interface's current bandwidth in bits
           per second.  For interfaces that do not vary in
           bandwidth or for those where no accurate estimation can
           be made, this node should contain the nominal bandwidth.
           For interfaces that have no concept of bandwidth, this
           node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB -
                     ifSpeed, ifHighSpeed";
      }

      container statistics {
        status deprecated;
        description
          "A collection of interface-related statistics objects.";
        leaf discontinuity-time {
          type yang:date-and-time;
          mandatory true;
          status deprecated;
          description
            "The time on the most recent occasion at which any one or
             more of this interface's counters suffered a
             discontinuity.  If no such discontinuities have occurred
             since the last re-initi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
alization of the local management
             subsystem, then this node contains the time the local
             management subsystem re-initialized itself.";
        }

        leaf in-octets {
          type yang:counter64;
          status deprecated;
          description
            "The total number of octets received on the interface,
             including framing characters.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCInOctets";
        }

        leaf in-unicast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were not addressed to a
             multicast or broadcast address at this sub-layer.


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts";
        }

        leaf in-broadcast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were addressed to a broadcast
             address at this sub-layer.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCInBroadcastPkts";
        }

        leaf in-multicast-pkts {
          type yang:counter64;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
         status deprecated;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were addressed to a multicast
             address at this sub-layer.  For a MAC-layer protocol,
             this includes both Group and Functional addresses.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCInMulticastPkts";
        }

        leaf in-discards {
          type yang:counter32;
          status deprecated;
          description
            "The number of inbound packets that were chosen to be
             discarded even though no errors had been detected to
             prevent their being deliverable to a higher-layer
             protocol.  One possible reason for dis

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
carding such a
             packet could be to free up buffer space.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInDiscards";
        }

        leaf in-errors {
          type yang:counter32;
          status deprecated;
          description
            "For packet-oriented interfaces, the number of inbound
             packets that contained errors preventing them from being
             deliverable to a higher-layer protocol.  For character-
             oriented or fixed-length interfaces, the number of
             inbound transmission units that contained errors
             preventing them from being deliverable to a higher-layer
             protocol.
             Discontinuities in the value of this counter can occur
             at re-initialization

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInErrors";
        }

        leaf in-unknown-protos {
          type yang:counter32;
          status deprecated;
          description
            "For packet-oriented interfaces, the number of packets
             received via the interface that were discarded because
             of an unknown or unsupported protocol.  For
             character-oriented or fixed-length interfaces that
             support protocol multiplexing, the number of
             transmission units received via the interface that were
             discarded because of an unknown or unsupported protocol.
             For any interface that does not support protocol
             multiplexing, this counter is not present.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ystem and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInUnknownProtos";
        }

        leaf out-octets {
          type yang:counter64;
          status deprecated;
          description
            "The total number of octets transmitted out of the
             interface, including framing characters.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCOutOctets";
        }

        leaf out-unicast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were not addressed
             to a multi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
cast or broadcast address at this sub-layer,
             including those that were discarded or not sent.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts";
        }

        leaf out-broadcast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were addressed to a
             broadcast address at this sub-layer, including those
             that were discarded or not sent.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCOutBroadcastPkts";
        }

        leaf out-multicast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were addressed to a
             multicast address at this sub-layer, including those
             that were discarded or not sent.  For a MAC-layer
             protocol, this includes both Group and Functional
             addresses.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCOutMulticastPkts";
        }

        leaf out-discards {
          type yang:counter32;
          status depr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ecated;
          description
            "The number of outbound packets that were chosen to be
             discarded even though no errors had been detected to
             prevent their being transmitted.  One possible reason
             for discarding such a packet could be to free up buffer
             space.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifOutDiscards";
        }

        leaf out-errors {
          type yang:counter32;
          status deprecated;
          description
            "For packet-oriented interfaces, the number of outbound
             packets that could not be transmitted because of errors.
             For character-oriented or fixed-length interfaces, the
             number of outbound transmission units that could not be


[INF]: LN: Session 1: sending message:

#402


[INF]: LN: Session 1: sending message:
             transmitted because of errors.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifOutErrors";
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="43"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>iana-if-type</identifier><version>2017-01-19</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "iana-if-type" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="43"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module iana-if-type {
  namespace "urn:ietf:params:xml:ns:yang:iana-if-type";
  prefix ianaift;

  import ietf-interfaces {
    prefix if;
  }

  organization
    "IANA";
  contact
    "        Internet Assigned Numbers Authority
     Postal: ICANN
             12025 Waterfront Drive, Suite 300
             Los Angeles, CA 90094-2536
             United States
     Tel:    +1 310 301 5800
     &lt;mailto:iana&amp;iana.org&gt;";
  description
    "This YANG module defines YANG identities for IANA-registered
     interface types.
     This YANG module is maintained by IANA and reflects the
     'ifType definitions' registry.
     The latest revision of this YANG module can be obtained from
     the IANA web site.
     Requests for new values should be made to IANA via
     email (iana&amp;iana.org).
     Copyright (c) 2014 IETF Trust and the persons identified as
     auth

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).
     The initial version of this YANG module is part of RFC 7224;
     see the RFC itself for full legal notices.";
  reference
    "IANA 'ifType definitions' registry.
     &lt;http://www.iana.org/assignments/smi-numbers&gt;";

  revision 2017-01-19 {
    description
      "Registered ifType 289.";
  }
  revision 2016-11-23 {
    description
      "Registered ifTypes 283-288.";
  }
  revision 2016-06-09 {
    description
      "Registered ifType 282.";
  }
  revision 2016-05-03 {
    description
      "Registered ifType 281.";
  }
  revision 2015-06-12 {
    description
      "Corrected formatting issue.";
  }
  revision 2014-09-24 {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  description
      "Registered ifType 280.";
  }
  revision 2014-09-19 {
    description
      "Registered ifType 279.";
  }
  revision 2014-07-03 {
    description
      "Registered ifTypes 277-278.";
  }
  revision 2014-05-19 {
    description
      "Updated the contact address.";
  }
  revision 2014-05-08 {
    description
      "Initial revision.";
    reference
      "RFC 7224: IANA Interface Type YANG Module";
  }

  identity iana-interface-type {
    base if:interface-type;
    description
      "This identity is used as a base for all interface types
       defined in the 'ifType definitions' registry.";
  }

  identity other {
    base iana-interface-type;
  }

  identity regular1822 {
    base iana-interface-type;
  }

  identity hdh1822 {
    base iana-interface-type;
  }

  identity ddnX25 {
    base iana-interface-type;
  }

  identity rfc877x25 {
    base iana-interface-type;
    reference
      "RFC 1382 - SNMP MIB Extension for the X.25 Packet Layer";
  }

  identity ethernetCsmacd {
    base

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 iana-interface-type;
    description
      "For all Ethernet-like interfaces, regardless of speed,
       as per RFC 3635.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity iso88023Csmacd {
    base iana-interface-type;
    status deprecated;
    description
      "Deprecated via RFC 3635.
       Use ethernetCsmacd(6) instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity iso88024TokenBus {
    base iana-interface-type;
  }

  identity iso88025TokenRing {
    base iana-interface-type;
  }

  identity iso88026Man {
    base iana-interface-type;
  }

  identity starLan {
    base iana-interface-type;
    status deprecated;
    description
      "Deprecated via RFC 3635.
       Use ethernetCsmacd(6) instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:


  identity proteon10Mbit {
    base iana-interface-type;
  }

  identity proteon80Mbit {
    base iana-interface-type;
  }

  identity hyperchannel {
    base iana-interface-type;
  }

  identity fddi {
    base iana-interface-type;
    reference
      "RFC 1512 - FDDI Management Information Base";
  }

  identity lapb {
    base iana-interface-type;
    reference
      "RFC 1381 - SNMP MIB Extension for X.25 LAPB";
  }

  identity sdlc {
    base iana-interface-type;
  }

  identity ds1 {
    base iana-interface-type;
    description
      "DS1-MIB.";
    reference
      "RFC 4805 - Definitions of Managed Objects for the
                  DS1, J1, E1, DS2, and E2 Interface Types";
  }

  identity e1 {
    base iana-interface-type;
    status obsolete;
    description
      "Obsolete; see DS1-MIB.";
    reference
      "RFC 4805 - Definitions of Managed Objects for the
                  DS1, J1, E1, DS2, and E2 Interface Types";
  }

  identity basicISDN {
    base iana-interface-type;
    description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "No longer used.  See also RFC 2127.";
  }

  identity primaryISDN {
    base iana-interface-type;
    description
      "No longer used.  See also RFC 2127.";
  }

  identity propPointToPointSerial {
    base iana-interface-type;
    description
      "Proprietary serial.";
  }

  identity ppp {
    base iana-interface-type;
  }

  identity softwareLoopback {
    base iana-interface-type;
  }

  identity eon {
    base iana-interface-type;
    description
      "CLNP over IP.";
  }

  identity ethernet3Mbit {
    base iana-interface-type;
  }

  identity nsip {
    base iana-interface-type;
    description
      "XNS over IP.";
  }

  identity slip {
    base iana-interface-type;
    description
      "Generic SLIP.";
  }

  identity ultra {
    base iana-interface-type;
    description
      "Ultra Technologies.";
  }

  identity ds3 {
    base iana-interface-type;
    description
      "DS3-MIB.";
    reference
      "RFC 3896 - Definitions of Managed Objects for the
                  DS3/E3 Interface Typ

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e";
  }

  identity sip {
    base iana-interface-type;
    description
      "SMDS, coffee.";
    reference
      "RFC 1694 - Definitions of Managed Objects for SMDS
                  Interfaces using SMIv2";
  }

  identity frameRelay {
    base iana-interface-type;
    description
      "DTE only.";
    reference
      "RFC 2115 - Management Information Base for Frame Relay
                  DTEs Using SMIv2";
  }

  identity rs232 {
    base iana-interface-type;
    reference
      "RFC 1659 - Definitions of Managed Objects for RS-232-like
                  Hardware Devices using SMIv2";
  }

  identity para {
    base iana-interface-type;
    description
      "Parallel-port.";
    reference
      "RFC 1660 - Definitions of Managed Objects for
                  Parallel-printer-like Hardware Devices using
                  SMIv2";
  }

  identity arcnet {
    base iana-interface-type;
    description
      "ARCnet.";
  }

  identity arcnetPlus {
    base iana-interface-type;
    description
      "ARCnet

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 Plus.";
  }

  identity atm {
    base iana-interface-type;
    description
      "ATM cells.";
  }

  identity miox25 {
    base iana-interface-type;
    reference
      "RFC 1461 - SNMP MIB extension for Multiprotocol
                  Interconnect over X.25";
  }

  identity sonet {
    base iana-interface-type;
    description
      "SONET or SDH.";
  }

  identity x25ple {
    base iana-interface-type;
    reference
      "RFC 2127 - ISDN Management Information Base using SMIv2";
  }

  identity iso88022llc {
    base iana-interface-type;
  }

  identity localTalk {
    base iana-interface-type;
  }

  identity smdsDxi {
    base iana-interface-type;
  }

  identity frameRelayService {
    base iana-interface-type;
    description
      "FRNETSERV-MIB.";
    reference
      "RFC 2954 - Definitions of Managed Objects for Frame
                  Relay Service";
  }

  identity v35 {
    base iana-interface-type;
  }

  identity hssi {
    base iana-interface-type;
  }

  identity hippi {
    base iana-int

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
erface-type;
  }

  identity modem {
    base iana-interface-type;
    description
      "Generic modem.";
  }

  identity aal5 {
    base iana-interface-type;
    description
      "AAL5 over ATM.";
  }

  identity sonetPath {
    base iana-interface-type;
  }

  identity sonetVT {
    base iana-interface-type;
  }

  identity smdsIcip {
    base iana-interface-type;
    description
      "SMDS InterCarrier Interface.";
  }

  identity propVirtual {
    base iana-interface-type;
    description
      "Proprietary virtual/internal.";
    reference
      "RFC 2863 - The Interfaces Group MIB";
  }

  identity propMultiplexor {
    base iana-interface-type;
    description
      "Proprietary multiplexing.";
    reference
      "RFC 2863 - The Interfaces Group MIB";
  }

  identity ieee80212 {
    base iana-interface-type;
    description
      "100BaseVG.";
  }

  identity fibreChannel {
    base iana-interface-type;
    description
      "Fibre Channel.";
  }

  identity hippiInterface {
    base iana-interface

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
-type;
    description
      "HIPPI interfaces.";
  }

  identity frameRelayInterconnect {
    base iana-interface-type;
    status obsolete;
    description
      "Obsolete; use either
       frameRelay(32) or frameRelayService(44).";
  }

  identity aflane8023 {
    base iana-interface-type;
    description
      "ATM Emulated LAN for 802.3.";
  }

  identity aflane8025 {
    base iana-interface-type;
    description
      "ATM Emulated LAN for 802.5.";
  }

  identity cctEmul {
    base iana-interface-type;
    description
      "ATM Emulated circuit.";
  }

  identity fastEther {
    base iana-interface-type;
    status deprecated;
    description
      "Obsoleted via RFC 3635.
       ethernetCsmacd(6) should be used instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity isdn {
    base iana-interface-type;
    description
      "ISDN and X.25.";
    reference
      "RFC 1356 - Multiprotocol Interconnect on X.25 a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nd ISDN
                  in the Packet Mode";
  }

  identity v11 {
    base iana-interface-type;
    description
      "CCITT V.11/X.21.";
  }

  identity v36 {
    base iana-interface-type;
    description
      "CCITT V.36.";
  }

  identity g703at64k {
    base iana-interface-type;
    description
      "CCITT G703 at 64Kbps.";
  }

  identity g703at2mb {
    base iana-interface-type;
    status obsolete;
    description
      "Obsolete; see DS1-MIB.";
  }

  identity qllc {
    base iana-interface-type;
    description
      "SNA QLLC.";
  }

  identity fastEtherFX {
    base iana-interface-type;
    status deprecated;
    description
      "Obsoleted via RFC 3635.
       ethernetCsmacd(6) should be used instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity channel {
    base iana-interface-type;
    description
      "Channel.";
  }

  identity ieee80211 {
    base iana-interface-type;
    description
      "R

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
adio spread spectrum.";
  }

  identity ibm370parChan {
    base iana-interface-type;
    description
      "IBM System 360/370 OEMI Channel.";
  }

  identity escon {
    base iana-interface-type;
    description
      "IBM Enterprise Systems Connection.";
  }

  identity dlsw {
    base iana-interface-type;
    description
      "Data Link Switching.";
  }

  identity isdns {
    base iana-interface-type;
    description
      "ISDN S/T interface.";
  }

  identity isdnu {
    base iana-interface-type;
    description
      "ISDN U interface.";
  }

  identity lapd {
    base iana-interface-type;
    description
      "Link Access Protocol D.";
  }

  identity ipSwitch {
    base iana-interface-type;
    description
      "IP Switching Objects.";
  }

  identity rsrb {
    base iana-interface-type;
    description
      "Remote Source Route Bridging.";
  }

  identity atmLogical {
    base iana-interface-type;
    description
      "ATM Logical Port.";
    reference
      "RFC 3606 - Definitions of Suppleme

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ntal Managed Objects
                  for ATM Interface";
  }

  identity ds0 {
    base iana-interface-type;
    description
      "Digital Signal Level 0.";
    reference
      "RFC 2494 - Definitions of Managed Objects for the DS0
                  and DS0 Bundle Interface Type";
  }

  identity ds0Bundle {
    base iana-interface-type;
    description
      "Group of ds0s on the same ds1.";
    reference
      "RFC 2494 - Definitions of Managed Objects for the DS0
                  and DS0 Bundle Interface Type";
  }

  identity bsc {
    base iana-interface-type;
    description
      "Bisynchronous Protocol.";
  }

  identity async {
    base iana-interface-type;
    description
      "Asynchronous Protocol.";
  }

  identity cnr {
    base iana-interface-type;
    description
      "Combat Net Radio.";
  }

  identity iso88025Dtr {
    base iana-interface-type;
    description
      "ISO 802.5r DTR.";
  }

  identity eplrs {
    base iana-interface-type;
    description
      "Ext Pos Loc Report Sys."

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
  }

  identity arap {
    base iana-interface-type;
    description
      "Appletalk Remote Access Protocol.";
  }

  identity propCnls {
    base iana-interface-type;
    description
      "Proprietary Connectionless Protocol.";
  }

  identity hostPad {
    base iana-interface-type;
    description
      "CCITT-ITU X.29 PAD Protocol.";
  }

  identity termPad {
    base iana-interface-type;
    description
      "CCITT-ITU X.3 PAD Facility.";
  }

  identity frameRelayMPI {
    base iana-interface-type;
    description
      "Multiproto Interconnect over FR.";
  }

  identity x213 {
    base iana-interface-type;
    description
      "CCITT-ITU X213.";
  }

  identity adsl {
    base iana-interface-type;
    description
      "Asymmetric Digital Subscriber Loop.";
  }

  identity radsl {
    base iana-interface-type;
    description
      "Rate-Adapt. Digital Subscriber Loop.";
  }

  identity sdsl {
    base iana-interface-type;
    description
      "Symmetric Digital Subscriber Loop.";
  }

  identity

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 vdsl {
    base iana-interface-type;
    description
      "Very H-Speed Digital Subscrib. Loop.";
  }

  identity iso88025CRFPInt {
    base iana-interface-type;
    description
      "ISO 802.5 CRFP.";
  }

  identity myrinet {
    base iana-interface-type;
    description
      "Myricom Myrinet.";
  }

  identity voiceEM {
    base iana-interface-type;
    description
      "Voice recEive and transMit.";
  }

  identity voiceFXO {
    base iana-interface-type;
    description
      "Voice Foreign Exchange Office.";
  }

  identity voiceFXS {
    base iana-interface-type;
    description
      "Voice Foreign Exchange Station.";
  }

  identity voiceEncap {
    base iana-interface-type;
    description
      "Voice encapsulation.";
  }

  identity voiceOverIp {
    base iana-interface-type;
    description
      "Voice over IP encapsulation.";
  }

  identity atmDxi {
    base iana-interface-type;
    description
      "ATM DXI.";
  }

  identity atmFuni {
    base iana-interface-type;
    description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "ATM FUNI.";
  }

  identity atmIma {
    base iana-interface-type;
    description
      "ATM IMA.";
  }

  identity pppMultilinkBundle {
    base iana-interface-type;
    description
      "PPP Multilink Bundle.";
  }

  identity ipOverCdlc {
    base iana-interface-type;
    description
      "IBM ipOverCdlc.";
  }

  identity ipOverClaw {
    base iana-interface-type;
    description
      "IBM Common Link Access to Workstn.";
  }

  identity stackToStack {
    base iana-interface-type;
    description
      "IBM stackToStack.";
  }

  identity virtualIpAddress {
    base iana-interface-type;
    description
      "IBM VIPA.";
  }

  identity mpc {
    base iana-interface-type;
    description
      "IBM multi-protocol channel support.";
  }

  identity ipOverAtm {
    base iana-interface-type;
    description
      "IBM ipOverAtm.";
    reference
      "RFC 2320 - Definitions of Managed Objects for Classical IP
                  and ARP Over ATM Using SMIv2 (IPOA-MIB)";
  }

  identity iso88025Fiber {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   base iana-interface-type;
    description
      "ISO 802.5j Fiber Token Ring.";
  }

  identity tdlc {
    base iana-interface-type;
    description
      "IBM twinaxial data link control.";
  }

  identity gigabitEthernet {
    base iana-interface-type;
    status deprecated;
    description
      "Obsoleted via RFC 3635.
       ethernetCsmacd(6) should be used instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity hdlc {
    base iana-interface-type;
    description
      "HDLC.";
  }

  identity lapf {
    base iana-interface-type;
    description
      "LAP F.";
  }

  identity v37 {
    base iana-interface-type;
    description
      "V.37.";
  }

  identity x25mlp {
    base iana-interface-type;
    description
      "Multi-Link Protocol.";
  }

  identity x25huntGroup {
    base iana-interface-type;
    description
      "X25 Hunt Group.";
  }

  identity transpHdlc {
    base iana-interface-type;
    descri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ption
      "Transp HDLC.";
  }

  identity interleave {
    base iana-interface-type;
    description
      "Interleave channel.";
  }

  identity fast {
    base iana-interface-type;
    description
      "Fast channel.";
  }

  identity ip {
    base iana-interface-type;
    description
      "IP (for APPN HPR in IP networks).";
  }

  identity docsCableMaclayer {
    base iana-interface-type;
    description
      "CATV Mac Layer.";
  }

  identity docsCableDownstream {
    base iana-interface-type;
    description
      "CATV Downstream interface.";
  }

  identity docsCableUpstream {
    base iana-interface-type;
    description
      "CATV Upstream interface.";
  }

  identity a12MppSwitch {
    base iana-interface-type;
    description
      "Avalon Parallel Processor.";
  }

  identity tunnel {
    base iana-interface-type;
    description
      "Encapsulation interface.";
  }

  identity coffee {
    base iana-interface-type;
    description
      "Coffee pot.";
    reference
      "RFC 2325 - Coffe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e MIB";
  }

  identity ces {
    base iana-interface-type;
    description
      "Circuit Emulation Service.";
  }

  identity atmSubInterface {
    base iana-interface-type;
    description
      "ATM Sub Interface.";
  }

  identity l2vlan {
    base iana-interface-type;
    description
      "Layer 2 Virtual LAN using 802.1Q.";
  }

  identity l3ipvlan {
    base iana-interface-type;
    description
      "Layer 3 Virtual LAN using IP.";
  }

  identity l3ipxvlan {
    base iana-interface-type;
    description
      "Layer 3 Virtual LAN using IPX.";
  }

  identity digitalPowerline {
    base iana-interface-type;
    description
      "IP over Power Lines.";
  }

  identity mediaMailOverIp {
    base iana-interface-type;
    description
      "Multimedia Mail over IP.";
  }

  identity dtm {
    base iana-interface-type;
    description
      "Dynamic synchronous Transfer Mode.";
  }

  identity dcn {
    base iana-interface-type;
    description
      "Data Communications Network.";
  }

  identity ipFor

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ward {
    base iana-interface-type;
    description
      "IP Forwarding Interface.";
  }

  identity msdsl {
    base iana-interface-type;
    description
      "Multi-rate Symmetric DSL.";
  }

  identity ieee1394 {
    base iana-interface-type;
    description
      "IEEE1394 High Performance Serial Bus.";
  }

  identity if-gsn {
    base iana-interface-type;
    description
      "HIPPI-6400.";
  }

  identity dvbRccMacLayer {
    base iana-interface-type;
    description
      "DVB-RCC MAC Layer.";
  }

  identity dvbRccDownstream {
    base iana-interface-type;
    description
      "DVB-RCC Downstream Channel.";
  }

  identity dvbRccUpstream {
    base iana-interface-type;
    description
      "DVB-RCC Upstream Channel.";
  }

  identity atmVirtual {
    base iana-interface-type;
    description
      "ATM Virtual Interface.";
  }

  identity mplsTunnel {
    base iana-interface-type;
    description
      "MPLS Tunnel Virtual Interface.";
  }

  identity srp {
    base iana-interface-type;
    des

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
cription
      "Spatial Reuse Protocol.";
  }

  identity voiceOverAtm {
    base iana-interface-type;
    description
      "Voice over ATM.";
  }

  identity voiceOverFrameRelay {
    base iana-interface-type;
    description
      "Voice Over Frame Relay.";
  }

  identity idsl {
    base iana-interface-type;
    description
      "Digital Subscriber Loop over ISDN.";
  }

  identity compositeLink {
    base iana-interface-type;
    description
      "Avici Composite Link Interface.";
  }

  identity ss7SigLink {
    base iana-interface-type;
    description
      "SS7 Signaling Link.";
  }

  identity propWirelessP2P {
    base iana-interface-type;
    description
      "Prop. P2P wireless interface.";
  }

  identity frForward {
    base iana-interface-type;
    description
      "Frame Forward Interface.";
  }

  identity rfc1483 {
    base iana-interface-type;
    description
      "Multiprotocol over ATM AAL5.";
    reference
      "RFC 1483 - Multiprotocol Encapsulation over ATM
                  Ada

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ptation Layer 5";
  }

  identity usb {
    base iana-interface-type;
    description
      "USB Interface.";
  }

  identity ieee8023adLag {
    base iana-interface-type;
    description
      "IEEE 802.3ad Link Aggregate.";
  }

  identity bgppolicyaccounting {
    base iana-interface-type;
    description
      "BGP Policy Accounting.";
  }

  identity frf16MfrBundle {
    base iana-interface-type;
    description
      "FRF.16 Multilink Frame Relay.";
  }

  identity h323Gatekeeper {
    base iana-interface-type;
    description
      "H323 Gatekeeper.";
  }

  identity h323Proxy {
    base iana-interface-type;
    description
      "H323 Voice and Video Proxy.";
  }

  identity mpls {
    base iana-interface-type;
    description
      "MPLS.";
  }

  identity mfSigLink {
    base iana-interface-type;
    description
      "Multi-frequency signaling link.";
  }

  identity hdsl2 {
    base iana-interface-type;
    description
      "High Bit-Rate DSL - 2nd generation.";
  }

  identity shdsl {
    base i

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ana-interface-type;
    description
      "Multirate HDSL2.";
  }

  identity ds1FDL {
    base iana-interface-type;
    description
      "Facility Data Link (4Kbps) on a DS1.";
  }

  identity pos {
    base iana-interface-type;
    description
      "Packet over SONET/SDH Interface.";
  }

  identity dvbAsiIn {
    base iana-interface-type;
    description
      "DVB-ASI Input.";
  }

  identity dvbAsiOut {
    base iana-interface-type;
    description
      "DVB-ASI Output.";
  }

  identity plc {
    base iana-interface-type;
    description
      "Power Line Communications.";
  }

  identity nfas {
    base iana-interface-type;
    description
      "Non-Facility Associated Signaling.";
  }

  identity tr008 {
    base iana-interface-type;
    description
      "TR008.";
  }

  identity gr303RDT {
    base iana-interface-type;
    description
      "Remote Digital Terminal.";
  }

  identity gr303IDT {
    base iana-interface-type;
    description
      "Integrated Digital Terminal.";
  }

  identity is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
up {
    base iana-interface-type;
    description
      "ISUP.";
  }

  identity propDocsWirelessMaclayer {
    base iana-interface-type;
    description
      "Cisco proprietary Maclayer.";
  }

  identity propDocsWirelessDownstream {
    base iana-interface-type;
    description
      "Cisco proprietary Downstream.";
  }

  identity propDocsWirelessUpstream {
    base iana-interface-type;
    description
      "Cisco proprietary Upstream.";
  }

  identity hiperlan2 {
    base iana-interface-type;
    description
      "HIPERLAN Type 2 Radio Interface.";
  }

  identity propBWAp2Mp {
    base iana-interface-type;
    description
      "PropBroadbandWirelessAccesspt2Multipt (use of this value
       for IEEE 802.16 WMAN interfaces as per IEEE Std 802.16f
       is deprecated, and ieee80216WMAN(237) should be used
       instead).";
  }

  identity sonetOverheadChannel {
    base iana-interface-type;
    description
      "SONET Overhead Channel.";
  }

  identity digitalWrapperOverheadChannel {
    base ian

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a-interface-type;
    description
      "Digital Wrapper.";
  }

  identity aal2 {
    base iana-interface-type;
    description
      "ATM adaptation layer 2.";
  }

  identity radioMAC {
    base iana-interface-type;
    description
      "MAC layer over radio links.";
  }

  identity atmRadio {
    base iana-interface-type;
    description
      "ATM over radio links.";
  }

  identity imt {
    base iana-interface-type;
    description
      "Inter-Machine Trunks.";
  }

  identity mvl {
    base iana-interface-type;
    description
      "Multiple Virtual Lines DSL.";
  }

  identity reachDSL {
    base iana-interface-type;
    description
      "Long Reach DSL.";
  }

  identity frDlciEndPt {
    base iana-interface-type;
    description
      "Frame Relay DLCI End Point.";
  }

  identity atmVciEndPt {
    base iana-interface-type;
    description
      "ATM VCI End Point.";
  }

  identity opticalChannel {
    base iana-interface-type;
    description
      "Optical Channel.";
  }

  identity opticalT

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ransport {
    base iana-interface-type;
    description
      "Optical Transport.";
  }

  identity propAtm {
    base iana-interface-type;
    description
      "Proprietary ATM.";
  }

  identity voiceOverCable {
    base iana-interface-type;
    description
      "Voice Over Cable Interface.";
  }

  identity infiniband {
    base iana-interface-type;
    description
      "Infiniband.";
  }

  identity teLink {
    base iana-interface-type;
    description
      "TE Link.";
  }

  identity q2931 {
    base iana-interface-type;
    description
      "Q.2931.";
  }

  identity virtualTg {
    base iana-interface-type;
    description
      "Virtual Trunk Group.";
  }

  identity sipTg {
    base iana-interface-type;
    description
      "SIP Trunk Group.";
  }

  identity sipSig {
    base iana-interface-type;
    description
      "SIP Signaling.";
  }

  identity docsCableUpstreamChannel {
    base iana-interface-type;
    description
      "CATV Upstream Channel.";
  }

  identity econet {
    base ian

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a-interface-type;
    description
      "Acorn Econet.";
  }

  identity pon155 {
    base iana-interface-type;
    description
      "FSAN 155Mb Symetrical PON interface.";
  }

  identity pon622 {
    base iana-interface-type;
    description
      "FSAN 622Mb Symetrical PON interface.";
  }

  identity bridge {
    base iana-interface-type;
    description
      "Transparent bridge interface.";
  }

  identity linegroup {
    base iana-interface-type;
    description
      "Interface common to multiple lines.";
  }

  identity voiceEMFGD {
    base iana-interface-type;
    description
      "Voice E&amp;M Feature Group D.";
  }

  identity voiceFGDEANA {
    base iana-interface-type;
    description
      "Voice FGD Exchange Access North American.";
  }

  identity voiceDID {
    base iana-interface-type;
    description
      "Voice Direct Inward Dialing.";
  }

  identity mpegTransport {
    base iana-interface-type;
    description
      "MPEG transport interface.";
  }

  identity sixToFour {
    base

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
iana-interface-type;
    status deprecated;
    description
      "6to4 interface (DEPRECATED).";
    reference
      "RFC 4087 - IP Tunnel MIB";
  }

  identity gtp {
    base iana-interface-type;
    description
      "GTP (GPRS Tunneling Protocol).";
  }

  identity pdnEtherLoop1 {
    base iana-interface-type;
    description
      "Paradyne EtherLoop 1.";
  }

  identity pdnEtherLoop2 {
    base iana-interface-type;
    description
      "Paradyne EtherLoop 2.";
  }

  identity opticalChannelGroup {
    base iana-interface-type;
    description
      "Optical Channel Group.";
  }

  identity homepna {
    base iana-interface-type;
    description
      "HomePNA ITU-T G.989.";
  }

  identity gfp {
    base iana-interface-type;
    description
      "Generic Framing Procedure (GFP).";
  }

  identity ciscoISLvlan {
    base iana-interface-type;
    description
      "Layer 2 Virtual LAN using Cisco ISL.";
  }

  identity actelisMetaLOOP {
    base iana-interface-type;
    description
      "Acteleis propr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ietary MetaLOOP High Speed Link.";
  }

  identity fcipLink {
    base iana-interface-type;
    description
      "FCIP Link.";
  }

  identity rpr {
    base iana-interface-type;
    description
      "Resilient Packet Ring Interface Type.";
  }

  identity qam {
    base iana-interface-type;
    description
      "RF Qam Interface.";
  }

  identity lmp {
    base iana-interface-type;
    description
      "Link Management Protocol.";
    reference
      "RFC 4327 - Link Management Protocol (LMP) Management
                  Information Base (MIB)";
  }

  identity cblVectaStar {
    base iana-interface-type;
    description
      "Cambridge Broadband Networks Limited VectaStar.";
  }

  identity docsCableMCmtsDownstream {
    base iana-interface-type;
    description
      "CATV Modular CMTS Downstream Interface.";
  }

  identity adsl2 {
    base iana-interface-type;
    status deprecated;
    description
      "Asymmetric Digital Subscriber Loop Version 2
       (DEPRECATED/OBSOLETED - please use adsl2pl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
us(238)
       instead).";
    reference
      "RFC 4706 - Definitions of Managed Objects for Asymmetric
                  Digital Subscriber Line 2 (ADSL2)";
  }

  identity macSecControlledIF {
    base iana-interface-type;
    description
      "MACSecControlled.";
  }

  identity macSecUncontrolledIF {
    base iana-interface-type;
    description
      "MACSecUncontrolled.";
  }

  identity aviciOpticalEther {
    base iana-interface-type;
    description
      "Avici Optical Ethernet Aggregate.";
  }

  identity atmbond {
    base iana-interface-type;
    description
      "atmbond.";
  }

  identity voiceFGDOS {
    base iana-interface-type;
    description
      "Voice FGD Operator Services.";
  }

  identity mocaVersion1 {
    base iana-interface-type;
    description
      "MultiMedia over Coax Alliance (MoCA) Interface
       as documented in information provided privately to IANA.";
  }

  identity ieee80216WMAN {
    base iana-interface-type;
    description
      "IEEE 802.16 WMAN interface.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 }

  identity adsl2plus {
    base iana-interface-type;
    description
      "Asymmetric Digital Subscriber Loop Version 2 -
       Version 2 Plus and all variants.";
  }

  identity dvbRcsMacLayer {
    base iana-interface-type;
    description
      "DVB-RCS MAC Layer.";
    reference
      "RFC 5728 - The SatLabs Group DVB-RCS MIB";
  }

  identity dvbTdm {
    base iana-interface-type;
    description
      "DVB Satellite TDM.";
    reference
      "RFC 5728 - The SatLabs Group DVB-RCS MIB";
  }

  identity dvbRcsTdma {
    base iana-interface-type;
    description
      "DVB-RCS TDMA.";
    reference
      "RFC 5728 - The SatLabs Group DVB-RCS MIB";
  }

  identity x86Laps {
    base iana-interface-type;
    description
      "LAPS based on ITU-T X.86/Y.1323.";
  }

  identity wwanPP {
    base iana-interface-type;
    description
      "3GPP WWAN.";
  }

  identity wwanPP2 {
    base iana-interface-type;
    description
      "3GPP2 WWAN.";
  }

  identity voiceEBS {
    base iana-interface-type;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
description
      "Voice P-phone EBS physical interface.";
  }

  identity ifPwType {
    base iana-interface-type;
    description
      "Pseudowire interface type.";
    reference
      "RFC 5601 - Pseudowire (PW) Management Information Base (MIB)";
  }

  identity ilan {
    base iana-interface-type;
    description
      "Internal LAN on a bridge per IEEE 802.1ap.";
  }

  identity pip {
    base iana-interface-type;
    description
      "Provider Instance Port on a bridge per IEEE 802.1ah PBB.";
  }

  identity aluELP {
    base iana-interface-type;
    description
      "Alcatel-Lucent Ethernet Link Protection.";
  }

  identity gpon {
    base iana-interface-type;
    description
      "Gigabit-capable passive optical networks (G-PON) as per
       ITU-T G.948.";
  }

  identity vdsl2 {
    base iana-interface-type;
    description
      "Very high speed digital subscriber line Version 2
       (as per ITU-T Recommendation G.993.2).";
    reference
      "RFC 5650 - Definitions of Managed Objects for

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Very High
                  Speed Digital Subscriber Line 2 (VDSL2)";
  }

  identity capwapDot11Profile {
    base iana-interface-type;
    description
      "WLAN Profile Interface.";
    reference
      "RFC 5834 - Control and Provisioning of Wireless Access
                  Points (CAPWAP) Protocol Binding MIB for
                  IEEE 802.11";
  }

  identity capwapDot11Bss {
    base iana-interface-type;
    description
      "WLAN BSS Interface.";
    reference
      "RFC 5834 - Control and Provisioning of Wireless Access
                  Points (CAPWAP) Protocol Binding MIB for
                  IEEE 802.11";
  }

  identity capwapWtpVirtualRadio {
    base iana-interface-type;
    description
      "WTP Virtual Radio Interface.";
    reference
      "RFC 5833 - Control and Provisioning of Wireless Access
                  Points (CAPWAP) Protocol Base MIB";
  }

  identity bits {
    base iana-interface-type;
    description
      "bitsport.";
  }

  identity docsCableUpstreamRfPort {
    base ian

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a-interface-type;
    description
      "DOCSIS CATV Upstream RF Port.";
  }

  identity cableDownstreamRfPort {
    base iana-interface-type;
    description
      "CATV downstream RF Port.";
  }

  identity vmwareVirtualNic {
    base iana-interface-type;
    description
      "VMware Virtual Network Interface.";
  }

  identity ieee802154 {
    base iana-interface-type;
    description
      "IEEE 802.15.4 WPAN interface.";
    reference
      "IEEE 802.15.4-2006";
  }

  identity otnOdu {
    base iana-interface-type;
    description
      "OTN Optical Data Unit.";
  }

  identity otnOtu {
    base iana-interface-type;
    description
      "OTN Optical channel Transport Unit.";
  }

  identity ifVfiType {
    base iana-interface-type;
    description
      "VPLS Forwarding Instance Interface Type.";
  }

  identity g9981 {
    base iana-interface-type;
    description
      "G.998.1 bonded interface.";
  }

  identity g9982 {
    base iana-interface-type;
    description
      "G.998.2 bonded interface."

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
  }

  identity g9983 {
    base iana-interface-type;
    description
      "G.998.3 bonded interface.";
  }

  identity aluEpon {
    base iana-interface-type;
    description
      "Ethernet Passive Optical Networks (E-PON).";
  }

  identity aluEponOnu {
    base iana-interface-type;
    description
      "EPON Optical Network Unit.";
  }

  identity aluEponPhysicalUni {
    base iana-interface-type;
    description
      "EPON physical User to Network interface.";
  }

  identity aluEponLogicalLink {
    base iana-interface-type;
    description
      "The emulation of a point-to-point link over the EPON
       layer.";
  }

  identity aluGponOnu {
    base iana-interface-type;
    description
      "GPON Optical Network Unit.";
    reference
      "ITU-T G.984.2";
  }

  identity aluGponPhysicalUni {
    base iana-interface-type;
    description
      "GPON physical User to Network interface.";
    reference
      "ITU-T G.984.2";
  }

  identity vmwareNicTeam {
    base iana-interface-type;
    descri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ption
      "VMware NIC Team.";
  }

  identity docsOfdmDownstream {
    base iana-interface-type;
    description
      "CATV Downstream OFDM interface.";
  }

  identity docsOfdmaUpstream {
    base iana-interface-type;
    description
      "CATV Upstream OFDMA interface.";
  }

  identity gfast {
    base iana-interface-type;
    description
      "G.fast port.";
    reference
      "ITU-T G.9701";
  }

  identity sdci {
    base iana-interface-type;
    description
      "SDCI (IO-Link).";
    reference
      "IEC 61131-9 Edition 1.0 2013-09";
  }

  identity xboxWireless {
    base iana-interface-type;
    description
      "Xbox wireless.";
  }

  identity fastdsl {
    base iana-interface-type;
    description
      "FastDSL.";
    reference
      "BBF TR-355";
  }

  identity docsCableScte55d1FwdOob {
    base iana-interface-type;
    description
      "Cable SCTE 55-1 OOB Forward Channel.";
  }

  identity docsCableScte55d1RetOob {
    base iana-interface-type;
    description
      "Cable SCTE 55-1

[INF]: LN: Session 1: sending message:

#656


[INF]: LN: Session 1: sending message:
 OOB Return Channel.";
  }

  identity docsCableScte55d2DsOob {
    base iana-interface-type;
    description
      "Cable SCTE 55-2 OOB Downstream Channel.";
  }

  identity docsCableScte55d2UsOob {
    base iana-interface-type;
    description
      "Cable SCTE 55-2 OOB Upstream Channel.";
  }

  identity docsCableNdf {
    base iana-interface-type;
    description
      "Cable Narrowband Digital Forward.";
  }

  identity docsCableNdr {
    base iana-interface-type;
    description
      "Cable Narrowband Digital Return.";
  }

  identity ptm {
    base iana-interface-type;
    description
      "Packet Transfer Mode.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="44"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-interfaces</identifier><version>2018-02-20</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-interfaces" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="44"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-interfaces {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-interfaces";
  prefix if;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NETMOD (Network Modeling) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;
     WG List:  &lt;mailto:netmod@ietf.org&gt;
     Editor:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;";
  description
    "This module contains a collection of YANG definitions for
     managing network interfaces.
     Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
f the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).
     This version of this YANG module is part of RFC 8343; see
     the RFC itself for full legal notices.";

  revision 2018-02-20 {
    description
      "Updated to support NMDA.";
    reference
      "RFC 8343: A YANG Data Model for Interface Management";
  }
  revision 2014-05-08 {
    description
      "Initial revision.";
    reference
      "RFC 7223: A YANG Data Model for Interface Management";
  }

  feature arbitrary-names {
    description
      "This feature indicates that the device allows user-controlled
       interfaces to be named arbitrarily.";
  }

  feature pre-provisioning {
    description
      "This feature indicates that the device supports
       pre-provisioning of interface configuration, i.e., it is
       possible to configure an interface whose physical interface
       hardware is not present on the device.";
  }

  feature if-mib {
    description
      "This feat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ure indicates that the device implements
       the IF-MIB.";
    reference
      "RFC 2863: The Interfaces Group MIB";
  }

  identity interface-type {
    description
      "Base identity from which specific interface types are
       derived.";
  }

  typedef interface-ref {
    type leafref {
      path "/if:interfaces/if:interface/if:name";
    }
    description
      "This type is used by data models that need to reference
       interfaces.";
  }

  typedef interface-state-ref {
    type leafref {
      path "/if:interfaces-state/if:interface/if:name";
    }
    status deprecated;
    description
      "This type is used by data models that need to reference
       the operationally present interfaces.";
  }

  container interfaces {
    description
      "Interface parameters.";
    list interface {
      key "name";
      description
        "The list of interfaces on the device.
         The status of an interface is available in this list in the
         operational state.  If the configuration of

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a
         system-controlled interface cannot be used by the system
         (e.g., the interface hardware present does not match the
         interface type), then the configuration is not applied to
         the system-controlled interface shown in the operational
         state.  If the configuration of a user-controlled interface
         cannot be used by the system, the configured interface is
         not instantiated in the operational state.
         System-controlled interfaces created by the system are
         always present in this list in the operational state,
         whether or not they are configured.";
      leaf name {
        type string;
        description
          "The name of the interface.
           A device MAY restrict the allowed values for this leaf,
           possibly depending on the type of the interface.
           For system-controlled interfaces, this leaf is the
           device-specific name of the interface.
           If a client tries to create configuration for a


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
           system-controlled interface that is not present in the
           operational state, the server MAY reject the request if
           the implementation does not support pre-provisioning of
           interfaces or if the name refers to an interface that can
           never exist in the system.  A Network Configuration
           Protocol (NETCONF) server MUST reply with an rpc-error
           with the error-tag 'invalid-value' in this case.
           If the device supports pre-provisioning of interface
           configuration, the 'pre-provisioning' feature is
           advertised.
           If the device allows arbitrarily named user-controlled
           interfaces, the 'arbitrary-names' feature is advertised.
           When a configured user-controlled interface is created by
           the system, it is instantiated with the same name in the
           operational state.
           A server implementation MAY map this leaf to the ifName
           MIB object.  Such an implementation need

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
s to use some
           mechanism to handle the differences in size and characters
           allowed between this leaf and ifName.  The definition of
           such a mechanism is outside the scope of this document.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifName";
      }

      leaf description {
        type string;
        description
          "A textual description of the interface.
           A server implementation MAY map this leaf to the ifAlias
           MIB object.  Such an implementation needs to use some
           mechanism to handle the differences in size and characters
           allowed between this leaf and ifAlias.  The definition of
           such a mechanism is outside the scope of this document.
           Since ifAlias is defined to be stored in non-volatile
           storage, the MIB implementation MUST map ifAlias to the
           value of 'description' in the persistently stored
           configuration.";
        reference
          "RFC 2863: The

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 Interfaces Group MIB - ifAlias";
      }

      leaf type {
        type identityref {
          base interface-type;
        }
        mandatory true;
        description
          "The type of the interface.
           When an interface entry is created, a server MAY
           initialize the type leaf with a valid value, e.g., if it
           is possible to derive the type from the name of the
           interface.
           If a client tries to set the type of an interface to a
           value that can never be used by the system, e.g., if the
           type is not supported or if the type does not match the
           name of the interface, the server MUST reject the request.
           A NETCONF server MUST reply with an rpc-error with the
           error-tag 'invalid-value' in this case.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifType";
      }

      leaf enabled {
        type boolean;
        default "true";
        description
          "This leaf contains the confi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
gured, desired state of the
           interface.
           Systems that implement the IF-MIB use the value of this
           leaf in the intended configuration to set
           IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry
           has been initialized, as described in RFC 2863.
           Changes in this leaf in the intended configuration are
           reflected in ifAdminStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifAdminStatus";
      }

      leaf link-up-down-trap-enable {
        if-feature "if-mib";
        type enumeration {
          enum "enabled" {
            value 1;
            description
              "The device will generate linkUp/linkDown SNMP
               notifications for this interface.";
          }
          enum "disabled" {
            value 2;
            description
              "The device will not generate linkUp/linkDown SNMP
               notifications for this interface.";
          }
        }
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "Controls whether linkUp/linkDown SNMP notifications
           should be generated for this interface.
           If this node is not configured, the value 'enabled' is
           operationally used by the server for interfaces that do
           not operate on top of any other interface (i.e., there are
           no 'lower-layer-if' entries), and 'disabled' otherwise.";
        reference
          "RFC 2863: The Interfaces Group MIB -
                     ifLinkUpDownTrapEnable";
      }

      leaf admin-status {
        if-feature "if-mib";
        type enumeration {
          enum "up" {
            value 1;
            description
              "Ready to pass packets.";
          }
          enum "down" {
            value 2;
            description
              "Not ready to pass packets and not in some test mode.";
          }
          enum "testing" {
            value 3;
            description
              "In some test mode.";
          }
        }
        config false;
        mandatory true

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
        description
          "The desired state of the interface.
           This leaf has the same read semantics as ifAdminStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifAdminStatus";
      }

      leaf oper-status {
        type enumeration {
          enum "up" {
            value 1;
            description
              "Ready to pass packets.";
          }
          enum "down" {
            value 2;
            description
              "The interface does not pass any packets.";
          }
          enum "testing" {
            value 3;
            description
              "In some test mode.  No operational packets can
               be passed.";
          }
          enum "unknown" {
            value 4;
            description
              "Status cannot be determined for some reason.";
          }
          enum "dormant" {
            value 5;
            description
              "Waiting for some external event.";
          }
          enum "not-present" {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
            value 6;
            description
              "Some component (typically hardware) is missing.";
          }
          enum "lower-layer-down" {
            value 7;
            description
              "Down due to state of lower-layer interface(s).";
          }
        }
        config false;
        mandatory true;
        description
          "The current operational state of the interface.
           This leaf has the same semantics as ifOperStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifOperStatus";
      }

      leaf last-change {
        type yang:date-and-time;
        config false;
        description
          "The time the interface entered its current operational
           state.  If the current state was entered prior to the
           last re-initialization of the local network management
           subsystem, then this node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifLastChange";
      }

      leaf if-i

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ndex {
        if-feature "if-mib";
        type int32 {
          range "1..2147483647";
        }
        config false;
        mandatory true;
        description
          "The ifIndex value for the ifEntry represented by this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifIndex";
      }

      leaf phys-address {
        type yang:phys-address;
        config false;
        description
          "The interface's address at its protocol sub-layer.  For
           example, for an 802.x interface, this object normally
           contains a Media Access Control (MAC) address.  The
           interface's media-specific modules must define the bit
           and byte ordering and the format of the value of this
           object.  For interfaces that do not have such an address
           (e.g., a serial line), this node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifPhysAddress";
      }

      leaf-list higher-layer-if {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     type interface-ref;
        config false;
        description
          "A list of references to interfaces layered on top of this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifStackTable";
      }

      leaf-list lower-layer-if {
        type interface-ref;
        config false;
        description
          "A list of references to interfaces layered underneath this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifStackTable";
      }

      leaf speed {
        type yang:gauge64;
        units "bits/second";
        config false;
        description
          "An estimate of the interface's current bandwidth in bits
           per second.  For interfaces that do not vary in
           bandwidth or for those where no accurate estimation can
           be made, this node should contain the nominal bandwidth.
           For interfaces that have no concept of bandwidth, this
           node is not present.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
reference
          "RFC 2863: The Interfaces Group MIB -
                     ifSpeed, ifHighSpeed";
      }

      container statistics {
        config false;
        description
          "A collection of interface-related statistics objects.";
        leaf discontinuity-time {
          type yang:date-and-time;
          mandatory true;
          description
            "The time on the most recent occasion at which any one or
             more of this interface's counters suffered a
             discontinuity.  If no such discontinuities have occurred
             since the last re-initialization of the local management
             subsystem, then this node contains the time the local
             management subsystem re-initialized itself.";
        }

        leaf in-octets {
          type yang:counter64;
          description
            "The total number of octets received on the interface,
             including framing characters.
             Discontinuities in the value of this counter can occ

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCInOctets";
        }

        leaf in-unicast-pkts {
          type yang:counter64;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were not addressed to a
             multicast or broadcast address at this sub-layer.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts";
        }

        leaf in-broadcast-pkts {
          type yang:counter64;
          description
            "The number of packets, delivered by this sub-layer to a


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  higher (sub-)layer, that were addressed to a broadcast
             address at this sub-layer.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCInBroadcastPkts";
        }

        leaf in-multicast-pkts {
          type yang:counter64;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were addressed to a multicast
             address at this sub-layer.  For a MAC-layer protocol,
             this includes both Group and Functional addresses.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCInMulticastPkts";
        }

        leaf in-discards {
          type yang:counter32;
          description
            "The number of inbound packets that were chosen to be
             discarded even though no errors had been detected to
             prevent their being deliverable to a higher-layer
             protocol.  One possible reason for discarding such a
             packet could be to free up buffer space.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInDiscards";
        }

        leaf in-errors {
          type yang:counter32;
          description
            "For packet-oriented interfaces, the number of inbound
             packets that containe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d errors preventing them from being
             deliverable to a higher-layer protocol.  For character-
             oriented or fixed-length interfaces, the number of
             inbound transmission units that contained errors
             preventing them from being deliverable to a higher-layer
             protocol.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInErrors";
        }

        leaf in-unknown-protos {
          type yang:counter32;
          description
            "For packet-oriented interfaces, the number of packets
             received via the interface that were discarded because
             of an unknown or unsupported protocol.  For
             character-oriented or fixed-length interfaces that
             support protocol multiplex

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ing, the number of
             transmission units received via the interface that were
             discarded because of an unknown or unsupported protocol.
             For any interface that does not support protocol
             multiplexing, this counter is not present.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInUnknownProtos";
        }

        leaf out-octets {
          type yang:counter64;
          description
            "The total number of octets transmitted out of the
             interface, including framing characters.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
         reference
            "RFC 2863: The Interfaces Group MIB - ifHCOutOctets";
        }

        leaf out-unicast-pkts {
          type yang:counter64;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were not addressed
             to a multicast or broadcast address at this sub-layer,
             including those that were discarded or not sent.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts";
        }

        leaf out-broadcast-pkts {
          type yang:counter64;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were addressed to a
             broadcast address

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 at this sub-layer, including those
             that were discarded or not sent.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCOutBroadcastPkts";
        }

        leaf out-multicast-pkts {
          type yang:counter64;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were addressed to a
             multicast address at this sub-layer, including those
             that were discarded or not sent.  For a MAC-layer
             protocol, this includes both Group and Functional
             addresses.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             othe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
r times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCOutMulticastPkts";
        }

        leaf out-discards {
          type yang:counter32;
          description
            "The number of outbound packets that were chosen to be
             discarded even though no errors had been detected to
             prevent their being transmitted.  One possible reason
             for discarding such a packet could be to free up buffer
             space.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifOutDiscards";
        }

        leaf out-errors {
          type yang:counter32;
          description
            "For packet-oriented interfaces, the num

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ber of outbound
             packets that could not be transmitted because of errors.
             For character-oriented or fixed-length interfaces, the
             number of outbound transmission units that could not be
             transmitted because of errors.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifOutErrors";
        }
      }
    }
  }

  container interfaces-state {
    config false;
    status deprecated;
    description
      "Data nodes for the operational state of interfaces.";
    list interface {
      key "name";
      status deprecated;
      description
        "The list of interfaces on the device.
         System-controlled interfaces created by the system are
         always present in this list, whether or not they are
         config

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ured.";
      leaf name {
        type string;
        status deprecated;
        description
          "The name of the interface.
           A server implementation MAY map this leaf to the ifName
           MIB object.  Such an implementation needs to use some
           mechanism to handle the differences in size and characters
           allowed between this leaf and ifName.  The definition of
           such a mechanism is outside the scope of this document.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifName";
      }

      leaf type {
        type identityref {
          base interface-type;
        }
        mandatory true;
        status deprecated;
        description
          "The type of the interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifType";
      }

      leaf admin-status {
        if-feature "if-mib";
        type enumeration {
          enum "up" {
            value 1;
            description
              "Ready to pass packets.";

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

          }
          enum "down" {
            value 2;
            description
              "Not ready to pass packets and not in some test mode.";
          }
          enum "testing" {
            value 3;
            description
              "In some test mode.";
          }
        }
        mandatory true;
        status deprecated;
        description
          "The desired state of the interface.
           This leaf has the same read semantics as ifAdminStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifAdminStatus";
      }

      leaf oper-status {
        type enumeration {
          enum "up" {
            value 1;
            description
              "Ready to pass packets.";
          }
          enum "down" {
            value 2;
            description
              "The interface does not pass any packets.";
          }
          enum "testing" {
            value 3;
            description
              "In some test mode.  No operational packets can


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       be passed.";
          }
          enum "unknown" {
            value 4;
            description
              "Status cannot be determined for some reason.";
          }
          enum "dormant" {
            value 5;
            description
              "Waiting for some external event.";
          }
          enum "not-present" {
            value 6;
            description
              "Some component (typically hardware) is missing.";
          }
          enum "lower-layer-down" {
            value 7;
            description
              "Down due to state of lower-layer interface(s).";
          }
        }
        mandatory true;
        status deprecated;
        description
          "The current operational state of the interface.
           This leaf has the same semantics as ifOperStatus.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifOperStatus";
      }

      leaf last-change {
        type yang:date-and-time;
        status deprecated;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      "The time the interface entered its current operational
           state.  If the current state was entered prior to the
           last re-initialization of the local network management
           subsystem, then this node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifLastChange";
      }

      leaf if-index {
        if-feature "if-mib";
        type int32 {
          range "1..2147483647";
        }
        mandatory true;
        status deprecated;
        description
          "The ifIndex value for the ifEntry represented by this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifIndex";
      }

      leaf phys-address {
        type yang:phys-address;
        status deprecated;
        description
          "The interface's address at its protocol sub-layer.  For
           example, for an 802.x interface, this object normally
           contains a Media Access Control (MAC) address.  The
           interface's med

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ia-specific modules must define the bit
           and byte ordering and the format of the value of this
           object.  For interfaces that do not have such an address
           (e.g., a serial line), this node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifPhysAddress";
      }

      leaf-list higher-layer-if {
        type interface-state-ref;
        status deprecated;
        description
          "A list of references to interfaces layered on top of this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifStackTable";
      }

      leaf-list lower-layer-if {
        type interface-state-ref;
        status deprecated;
        description
          "A list of references to interfaces layered underneath this
           interface.";
        reference
          "RFC 2863: The Interfaces Group MIB - ifStackTable";
      }

      leaf speed {
        type yang:gauge64;
        units "bits/second";
        status deprecated;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
        description
          "An estimate of the interface's current bandwidth in bits
           per second.  For interfaces that do not vary in
           bandwidth or for those where no accurate estimation can
           be made, this node should contain the nominal bandwidth.
           For interfaces that have no concept of bandwidth, this
           node is not present.";
        reference
          "RFC 2863: The Interfaces Group MIB -
                     ifSpeed, ifHighSpeed";
      }

      container statistics {
        status deprecated;
        description
          "A collection of interface-related statistics objects.";
        leaf discontinuity-time {
          type yang:date-and-time;
          mandatory true;
          status deprecated;
          description
            "The time on the most recent occasion at which any one or
             more of this interface's counters suffered a
             discontinuity.  If no such discontinuities have occurred
             since the last re-initi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
alization of the local management
             subsystem, then this node contains the time the local
             management subsystem re-initialized itself.";
        }

        leaf in-octets {
          type yang:counter64;
          status deprecated;
          description
            "The total number of octets received on the interface,
             including framing characters.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCInOctets";
        }

        leaf in-unicast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were not addressed to a
             multicast or broadcast address at this sub-layer.


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts";
        }

        leaf in-broadcast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were addressed to a broadcast
             address at this sub-layer.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCInBroadcastPkts";
        }

        leaf in-multicast-pkts {
          type yang:counter64;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
         status deprecated;
          description
            "The number of packets, delivered by this sub-layer to a
             higher (sub-)layer, that were addressed to a multicast
             address at this sub-layer.  For a MAC-layer protocol,
             this includes both Group and Functional addresses.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCInMulticastPkts";
        }

        leaf in-discards {
          type yang:counter32;
          status deprecated;
          description
            "The number of inbound packets that were chosen to be
             discarded even though no errors had been detected to
             prevent their being deliverable to a higher-layer
             protocol.  One possible reason for dis

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
carding such a
             packet could be to free up buffer space.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInDiscards";
        }

        leaf in-errors {
          type yang:counter32;
          status deprecated;
          description
            "For packet-oriented interfaces, the number of inbound
             packets that contained errors preventing them from being
             deliverable to a higher-layer protocol.  For character-
             oriented or fixed-length interfaces, the number of
             inbound transmission units that contained errors
             preventing them from being deliverable to a higher-layer
             protocol.
             Discontinuities in the value of this counter can occur
             at re-initialization

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInErrors";
        }

        leaf in-unknown-protos {
          type yang:counter32;
          status deprecated;
          description
            "For packet-oriented interfaces, the number of packets
             received via the interface that were discarded because
             of an unknown or unsupported protocol.  For
             character-oriented or fixed-length interfaces that
             support protocol multiplexing, the number of
             transmission units received via the interface that were
             discarded because of an unknown or unsupported protocol.
             For any interface that does not support protocol
             multiplexing, this counter is not present.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ystem and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifInUnknownProtos";
        }

        leaf out-octets {
          type yang:counter64;
          status deprecated;
          description
            "The total number of octets transmitted out of the
             interface, including framing characters.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCOutOctets";
        }

        leaf out-unicast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were not addressed
             to a multi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
cast or broadcast address at this sub-layer,
             including those that were discarded or not sent.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts";
        }

        leaf out-broadcast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were addressed to a
             broadcast address at this sub-layer, including those
             that were discarded or not sent.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCOutBroadcastPkts";
        }

        leaf out-multicast-pkts {
          type yang:counter64;
          status deprecated;
          description
            "The total number of packets that higher-level protocols
             requested be transmitted and that were addressed to a
             multicast address at this sub-layer, including those
             that were discarded or not sent.  For a MAC-layer
             protocol, this includes both Group and Functional
             addresses.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB -
                       ifHCOutMulticastPkts";
        }

        leaf out-discards {
          type yang:counter32;
          status depr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ecated;
          description
            "The number of outbound packets that were chosen to be
             discarded even though no errors had been detected to
             prevent their being transmitted.  One possible reason
             for discarding such a packet could be to free up buffer
             space.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifOutDiscards";
        }

        leaf out-errors {
          type yang:counter32;
          status deprecated;
          description
            "For packet-oriented interfaces, the number of outbound
             packets that could not be transmitted because of errors.
             For character-oriented or fixed-length interfaces, the
             number of outbound transmission units that could not be


[INF]: LN: Session 1: sending message:

#402


[INF]: LN: Session 1: sending message:
             transmitted because of errors.
             Discontinuities in the value of this counter can occur
             at re-initialization of the management system and at
             other times as indicated by the value of
             'discontinuity-time'.";
          reference
            "RFC 2863: The Interfaces Group MIB - ifOutErrors";
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="45"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-dhcpv6-types</identifier><version>2018-01-30</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-dhcpv6-types" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="45"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-dhcpv6-types {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-dhcpv6-types";
  prefix dhcpv6-types;

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "DHC WG";
  contact
    "cuiyong@tsinghua.edu.cn
     lh.sunlinh@gmail.com
     ian.farrer@telekom.de
     sladjana.zechlin@telekom.de
     hezihao9512@gmail.com";
  description
    "This model defines a YANG data model that can be
     used to define some commonly used DHCPv6 types";

  revision 2018-01-30 {
    description
      "Initial revision";
    reference
      "I-D: draft-ietf-dhc-dhcpv6-yang";
  }

  grouping vendor-infor {
    description
      "Vendor information.";
    container vendor-info {
      description
        "";
      leaf ent-num {
        type uint32;
        mandatory true;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    "enterprise number";
      }

      leaf-list data {
        type string;
        description
          "specific vendor info";
      }
    }
  }

  grouping duid {
    description
      "Each server and client has only one DUID (DHCP Unique Identifier).
       The DUID here identifies a unique DHCPv6 server for clients. DUID
       consists of a two-octet type field and an arbitrary length (no more
       than 128 bytes) content field. Currently there are four defined types
       of DUIDs in RFC3315 and RFC6355 - DUID-LLT, DUID-EN, DUID-LL and
       DUID-UUID. DUID-Uknown represents those unconventional DUIDs.";
    reference
      "RFC3315: Section 9 and RFC6355: Section 4";
    leaf type-code {
      type uint16;
      default "65535";
      description
        "Type code of this DUID";
    }

    choice duid-type {
      default "duid-unknown";
      description
        "Selects the format for the DUID.";
      case duid-llt {
        description
          "DUID Based on Link-layer Address Plus Time

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

             (Type 1 - DUID-LLT)";
        reference
          "RFC3315 Section 9.2";
        leaf duid-llt-hardware-type {
          type uint16;
          description
            "Hardware type as assigned by IANA (RFC826).";
        }

        leaf duid-llt-time {
          type yang:timeticks;
          description
            "The time value is the time that the DUID is
              generated represented in seconds since midnight (UTC),
              January 1, 2000, modulo 2^32.";
        }

        leaf duid-llt-link-layer-addr {
          type yang:mac-address;
          description
            "Link-layer address as described in RFC2464";
        }
      }

      case duid-en {
        description
          "DUID Assigned by Vendor Based on Enterprise Number
             (Type 2 - DUID-EN)";
        reference
          "RFC3315 Section 9.3";
        leaf duid-en-enterprise-number {
          type uint32;
          description
            "Vendor's registered Private Enterprise Number as


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      maintained by IANA";
        }

        leaf duid-en-identifier {
          type string;
          description
            "Indentifier, unique to the device that is
              using it";
        }
      }

      case duid-ll {
        description
          "DUID Based on Link-layer Address (Type 3 - DUID-LL)";
        reference
          "RFC3315 Section 9.4";
        leaf duid-ll-hardware-type {
          type uint16;
          description
            "Hardware type as assigned by IANA (RFC826).";
        }

        leaf duid-ll-link-layer-addr {
          type yang:mac-address;
          description
            "Link-layer address as described in RFC2464";
        }
      }

      case duid-uuid {
        description
          "DUID Based on Universally Unique Identifier
            \t(Type 4 - DUID-UUID)";
        reference
          "RFC6335 Defination of the UUID-Based Unique Identifier";
        leaf uuid {
          type yang:uuid;
          description
            "A Universally Unique IDent

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ifier in the string
             \t\trepresentation defined in RFC 4122. The canonical
             \t\trepresentation uses lowercase characters";
        }
      }

      case duid-unknown {
        description
          "DUID based on free raw bytes";
        leaf data {
          type binary;
          description
            "The bits to be used as the identifier";
        }
      }
    }
  }

  grouping portset-para {
    description
      "portset parameters";
    container port-parameter {
      description
        "port parameter";
      leaf offset {
        type uint8;
        mandatory true;
        description
          "offset in a port set";
      }

      leaf psid-len {
        type uint8;
        mandatory true;
        description
          "length of a psid";
      }

      leaf psid {
        type uint16;
        mandatory true;
        description
          "psid value";
      }
    }
  }

  grouping iaid {
    description
      "IA is a construct through which a server and a
       clien

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t can identify, group, and manage a set of related IPv6
       addresses. The key of the list is a 4-byte number IAID defined
       in [RFC3315].";
    list identity-association {
      config false;
      description
        "IA";
      leaf iaid {
        type uint32;
        mandatory true;
        description
          "IAID";
      }

      leaf ia-type {
        type string;
        mandatory true;
        description
          "IA type";
      }

      leaf-list ipv6-addr {
        type inet:ipv6-address;
        description
          "ipv6 address";
      }

      leaf-list ipv6-prefix {
        type inet:ipv6-prefix;
        description
          "ipv6 prefix";
      }

      leaf-list prefix-length {
        type uint8;
        description
          "ipv6 prefix length";
      }

      leaf t1-time {
        type yang:timeticks;
        mandatory true;
        description
          "t1 time";
      }

      leaf t2-time {
        type yang:timeticks;
        mandatory true;
        description


[INF]: LN: Session 1: sending message:

#340


[INF]: LN: Session 1: sending message:
      "t2 time";
      }

      leaf preferred-lifetime {
        type yang:timeticks;
        mandatory true;
        description
          "preferred lifetime";
      }

      leaf valid-lifetime {
        type yang:timeticks;
        mandatory true;
        description
          "valid lifetime";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="46"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-hardware</identifier><version>2018-03-13</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-hardware" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="46"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-hardware {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-hardware";
  prefix hw;

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-yang-types {
    prefix yang;
  }

  import iana-hardware {
    prefix ianahw;
  }

  organization
    "IETF NETMOD (Network Modeling) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;
     WG List:  &lt;mailto:netmod@ietf.org&gt;
     Editor:   Andy Bierman
               &lt;mailto:andy@yumaworks.com&gt;
     Editor:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;
     Editor:   Jie Dong
               &lt;mailto:jie.dong@huawei.com&gt;
     Editor:   Dan Romascanu
               &lt;mailto:dromasca@gmail.com&gt;";
  description
    "This module contains a collection of YANG definitions for
     managing hardware.
     This data model is des

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
igned for the Network Management Datastore
     Architecture (NMDA) defined in RFC 8342.
     Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).
     This version of this YANG module is part of RFC 8348; see
     the RFC itself for full legal notices.";

  revision 2018-03-13 {
    description
      "Initial revision.";
    reference
      "RFC 8348: A YANG Data Model for Hardware Management";
  }

  feature entity-mib {
    description
      "This feature indicates that the device implements
       the ENTITY-MIB.";
    reference
      "RFC 6933: Entity MIB (Version 4)";
  }

  feature hardware-state {
    description

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

      "Indicates that ENTITY-STATE-MIB objects are supported";
    reference
      "RFC 4268: Entity State MIB";
  }

  feature hardware-sensor {
    description
      "Indicates that ENTITY-SENSOR-MIB objects are supported";
    reference
      "RFC 3433: Entity Sensor Management Information Base";
  }

  typedef admin-state {
    type enumeration {
      enum "unknown" {
        value 1;
        description
          "The resource is unable to report administrative state.";
      }
      enum "locked" {
        value 2;
        description
          "The resource is administratively prohibited from use.";
      }
      enum "shutting-down" {
        value 3;
        description
          "The resource usage is administratively limited to current
           instances of use.";
      }
      enum "unlocked" {
        value 4;
        description
          "The resource is not administratively prohibited from
           use.";
      }
    }
    description
      "Represents the various possible administrative

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 states.";
    reference
      "RFC 4268: Entity State MIB - EntityAdminState";
  }

  typedef oper-state {
    type enumeration {
      enum "unknown" {
        value 1;
        description
          "The resource is unable to report its operational state.";
      }
      enum "disabled" {
        value 2;
        description
          "The resource is totally inoperable.";
      }
      enum "enabled" {
        value 3;
        description
          "The resource is partially or fully operable.";
      }
      enum "testing" {
        value 4;
        description
          "The resource is currently being tested and cannot
           therefore report whether or not it is operational.";
      }
    }
    description
      "Represents the possible values of operational states.";
    reference
      "RFC 4268: Entity State MIB - EntityOperState";
  }

  typedef usage-state {
    type enumeration {
      enum "unknown" {
        value 1;
        description
          "The resource is unable to report usage stat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e.";
      }
      enum "idle" {
        value 2;
        description
          "The resource is servicing no users.";
      }
      enum "active" {
        value 3;
        description
          "The resource is currently in use, and it has sufficient
           spare capacity to provide for additional users.";
      }
      enum "busy" {
        value 4;
        description
          "The resource is currently in use, but it currently has no
           spare capacity to provide for additional users.";
      }
    }
    description
      "Represents the possible values of usage states.";
    reference
      "RFC 4268: Entity State MIB -  EntityUsageState";
  }

  typedef alarm-state {
    type bits {
      bit unknown {
        position 0;
        description
          "The resource is unable to report alarm state.";
      }
      bit under-repair {
        position 1;
        description
          "The resource is currently being repaired, which, depending
           on the implementation, may make the othe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
r values in this
           bit string not meaningful.";
      }
      bit critical {
        position 2;
        description
          "One or more critical alarms are active against the
           resource.";
      }
      bit major {
        position 3;
        description
          "One or more major alarms are active against the
           resource.";
      }
      bit minor {
        position 4;
        description
          "One or more minor alarms are active against the
           resource.";
      }
      bit warning {
        position 5;
        description
          "One or more warning alarms are active against the
           resource.";
      }
      bit indeterminate {
        position 6;
        description
          "One or more alarms of whose perceived severity cannot be
           determined are active against this resource.";
      }
    }
    description
      "Represents the possible values of alarm states.  An alarm is a
       persistent indication of an error or warning condition.


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     When no bits of this attribute are set, then no active alarms
       are known against this component and it is not under repair.";
    reference
      "RFC 4268: Entity State MIB - EntityAlarmStatus";
  }

  typedef standby-state {
    type enumeration {
      enum "unknown" {
        value 1;
        description
          "The resource is unable to report standby state.";
      }
      enum "hot-standby" {
        value 2;
        description
          "The resource is not providing service, but it will be
           immediately able to take over the role of the resource to
           be backed up, without the need for initialization
           activity, and will contain the same information as the
           resource to be backed up.";
      }
      enum "cold-standby" {
        value 3;
        description
          "The resource is to back up another resource, but it will
           not be immediately able to take over the role of a
           resource to be backed up and will require some


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  initialization activity.";
      }
      enum "providing-service" {
        value 4;
        description
          "The resource is providing service.";
      }
    }
    description
      "Represents the possible values of standby states.";
    reference
      "RFC 4268: Entity State MIB - EntityStandbyStatus";
  }

  typedef sensor-value-type {
    type enumeration {
      enum "other" {
        value 1;
        description
          "A measure other than those listed below.";
      }
      enum "unknown" {
        value 2;
        description
          "An unknown measurement or arbitrary, relative numbers";
      }
      enum "volts-AC" {
        value 3;
        description
          "A measure of electric potential (alternating current).";
      }
      enum "volts-DC" {
        value 4;
        description
          "A measure of electric potential (direct current).";
      }
      enum "amperes" {
        value 5;
        description
          "A measure of electric current.";
      }
      enum "wa

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tts" {
        value 6;
        description
          "A measure of power.";
      }
      enum "hertz" {
        value 7;
        description
          "A measure of frequency.";
      }
      enum "celsius" {
        value 8;
        description
          "A measure of temperature.";
      }
      enum "percent-RH" {
        value 9;
        description
          "A measure of percent relative humidity.";
      }
      enum "rpm" {
        value 10;
        description
          "A measure of shaft revolutions per minute.";
      }
      enum "cmm" {
        value 11;
        description
          "A measure of cubic meters per minute (airflow).";
      }
      enum "truth-value" {
        value 12;
        description
          "Value is one of 1 (true) or 2 (false)";
      }
    }
    description
      "A node using this data type represents the sensor measurement
       data type associated with a physical sensor value.  The actual
       data units are determined by examining a node of this type


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
together with the associated sensor-value-scale node.
       A node of this type SHOULD be defined together with nodes of
       type sensor-value-scale and type sensor-value-precision.
       These three types are used to identify the semantics of a node
       of type sensor-value.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorDataType";
  }

  typedef sensor-value-scale {
    type enumeration {
      enum "yocto" {
        value 1;
        description
          "Data scaling factor of 10^-24.";
      }
      enum "zepto" {
        value 2;
        description
          "Data scaling factor of 10^-21.";
      }
      enum "atto" {
        value 3;
        description
          "Data scaling factor of 10^-18.";
      }
      enum "femto" {
        value 4;
        description
          "Data scaling factor of 10^-15.";
      }
      enum "pico" {
        value 5;
        description
          "Data scaling factor of 10^-12.";
      }
      enum "nan

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
o" {
        value 6;
        description
          "Data scaling factor of 10^-9.";
      }
      enum "micro" {
        value 7;
        description
          "Data scaling factor of 10^-6.";
      }
      enum "milli" {
        value 8;
        description
          "Data scaling factor of 10^-3.";
      }
      enum "units" {
        value 9;
        description
          "Data scaling factor of 10^0.";
      }
      enum "kilo" {
        value 10;
        description
          "Data scaling factor of 10^3.";
      }
      enum "mega" {
        value 11;
        description
          "Data scaling factor of 10^6.";
      }
      enum "giga" {
        value 12;
        description
          "Data scaling factor of 10^9.";
      }
      enum "tera" {
        value 13;
        description
          "Data scaling factor of 10^12.";
      }
      enum "peta" {
        value 14;
        description
          "Data scaling factor of 10^15.";
      }
      enum "exa" {
        value 15;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    "Data scaling factor of 10^18.";
      }
      enum "zetta" {
        value 16;
        description
          "Data scaling factor of 10^21.";
      }
      enum "yotta" {
        value 17;
        description
          "Data scaling factor of 10^24.";
      }
    }
    description
      "A node using this data type represents a data scaling factor,
       represented with an International System of Units (SI) prefix.
       The actual data units are determined by examining a node of
       this type together with the associated sensor-value-type.
       A node of this type SHOULD be defined together with nodes of
       type sensor-value-type and type sensor-value-precision.
       Together, associated nodes of these three types are used to
       identify the semantics of a node of type sensor-value.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorDataScale";
  }

  typedef sensor-value-precision {
    type int8 {
      range "-8 .. 9";
    }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 description
      "A node using this data type represents a sensor value
       precision range.
       A node of this type SHOULD be defined together with nodes of
       type sensor-value-type and type sensor-value-scale.  Together,
       associated nodes of these three types are used to identify the
       semantics of a node of type sensor-value.
       If a node of this type contains a value in the range 1 to 9,
       it represents the number of decimal places in the fractional
       part of an associated sensor-value fixed-point number.
       If a node of this type contains a value in the range -8 to -1,
       it represents the number of accurate digits in the associated
       sensor-value fixed-point number.
       The value zero indicates the associated sensor-value node is
       not a fixed-point number.
       Server implementers must choose a value for the associated
       sensor-value-precision node so that the precision and accuracy
       of the associated sensor-value node is correctly

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 indicated.
       For example, a component representing a temperature sensor
       that can measure 0 to 100 degrees C in 0.1 degree
       increments, +/- 0.05 degrees, would have a
       sensor-value-precision value of '1', a sensor-value-scale
       value of 'units', and a sensor-value ranging from '0' to
       '1000'.  The sensor-value would be interpreted as
       'degrees C * 10'.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorPrecision";
  }

  typedef sensor-value {
    type int32 {
      range "-1000000000 .. 1000000000";
    }
    description
      "A node using this data type represents a sensor value.
       A node of this type SHOULD be defined together with nodes of
       type sensor-value-type, type sensor-value-scale, and
       type sensor-value-precision.  Together, associated nodes of
       those three types are used to identify the semantics of a node
       of this data type.
       The semantics of a node using this data

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
type are determined by
       the value of the associated sensor-value-type node.
       If the associated sensor-value-type node is equal to 'voltsAC',
       'voltsDC', 'amperes', 'watts', 'hertz', 'celsius', or 'cmm',
       then a node of this type MUST contain a fixed-point number
       ranging from -999,999,999 to +999,999,999.  The value
       -1000000000 indicates an underflow error.  The value
       +1000000000 indicates an overflow error.  The
       sensor-value-precision indicates how many fractional digits
       are represented in the associated sensor-value node.
       If the associated sensor-value-type node is equal to
       'percentRH', then a node of this type MUST contain a number
       ranging from 0 to 100.
       If the associated sensor-value-type node is equal to 'rpm',
       then a node of this type MUST contain a number ranging from
       -999,999,999 to +999,999,999.
       If the associated sensor-value-type node is equal to
       'truth-value', then a node of this type M

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
UST contain either the
       value 1 (true) or the value 2 (false).
       If the associated sensor-value-type node is equal to 'other' or
       'unknown', then a node of this type MUST contain a number
       ranging from -1000000000 to 1000000000.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorValue";
  }

  typedef sensor-status {
    type enumeration {
      enum "ok" {
        value 1;
        description
          "Indicates that the server can obtain the sensor value.";
      }
      enum "unavailable" {
        value 2;
        description
          "Indicates that the server presently cannot obtain the
           sensor value.";
      }
      enum "nonoperational" {
        value 3;
        description
          "Indicates that the server believes the sensor is broken.
           The sensor could have a hard failure (disconnected wire)
           or a soft failure such as out-of-range, jittery, or wildly
           fluctuating readings.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     }
    }
    description
      "A node using this data type represents the operational status
       of a physical sensor.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorStatus";
  }

  container hardware {
    description
      "Data nodes representing components.
       If the server supports configuration of hardware components,
       then this data model is instantiated in the configuration
       datastores supported by the server.  The leaf-list 'datastore'
       for the module 'ietf-hardware' in the YANG library provides
       this information.";
    leaf last-change {
      type yang:date-and-time;
      config false;
      description
        "The time the '/hardware/component' list changed in the
         operational state.";
    }

    list component {
      key "name";
      description
        "List of components.
         When the server detects a new hardware component, it
         initializes a list entry in the operational stat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e.
         If the server does not support configuration of hardware
         components, list entries in the operational state are
         initialized with values for all nodes as detected by the
         implementation.
         Otherwise, this procedure is followed:
           1. If there is an entry in the '/hardware/component' list
              in the intended configuration with values for the nodes
              'class', 'parent', and 'parent-rel-pos' that are equal
              to the detected values, then the list entry in the
              operational state is initialized with the configured
              values, including the 'name'.
           2. Otherwise (i.e., there is no matching configuration
              entry), the list entry in the operational state is
              initialized with values for all nodes as detected by
              the implementation.
         If the '/hardware/component' list in the intended
         configuration is modified, then the system MUST behave as if


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 it re-initializes itself and follow the procedure in (1).";
      reference
        "RFC 6933: Entity MIB (Version 4) - entPhysicalEntry";
      leaf name {
        type string;
        description
          "The name assigned to this component.
           This name is not required to be the same as
           entPhysicalName.";
      }

      leaf class {
        type identityref {
          base ianahw:hardware-class;
        }
        mandatory true;
        description
          "An indication of the general hardware type of the
           component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalClass";
      }

      leaf physical-index {
        if-feature "entity-mib";
        type int32 {
          range "1..2147483647";
        }
        config false;
        description
          "The entPhysicalIndex for the entPhysicalEntry represented
           by this list entry.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalIndex";
      }

      l

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eaf description {
        type string;
        config false;
        description
          "A textual description of the component.  This node should
           contain a string that identifies the manufacturer's name
           for the component and should be set to a distinct value
           for each version or model of the component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalDescr";
      }

      leaf parent {
        type leafref {
          path "../../component/name";
          require-instance false;
        }
        description
          "The name of the component that physically contains this
           component.
           If this leaf is not instantiated, it indicates that this
           component is not contained in any other component.
           In the event that a physical component is contained by
           more than one physical component (e.g., double-wide
           modules), this node contains the name of one of these
           components.  An impl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ementation MUST use the same name
           every time this node is instantiated.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalContainedIn";
      }

      leaf parent-rel-pos {
        type int32 {
          range "0 .. 2147483647";
        }
        description
          "An indication of the relative position of this child
           component among all its sibling components.  Sibling
           components are defined as components that:
             o share the same value of the 'parent' node and
             o share a common base identity for the 'class' node.
           Note that the last rule gives implementations flexibility
           in how components are numbered.  For example, some
           implementations might have a single number series for all
           components derived from 'ianahw:port', while some others
           might have different number series for different
           components with identities derived from 'ianahw:port' (for
           example,

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
one for registered jack 45 (RJ45) and one for
           small form-factor pluggable (SFP)).";
        reference
          "RFC 6933: Entity MIB (Version 4) -
                     entPhysicalParentRelPos";
      }

      leaf-list contains-child {
        type leafref {
          path "../../component/name";
        }
        config false;
        description
          "The name of the contained component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalChildIndex";
      }

      leaf hardware-rev {
        type string;
        config false;
        description
          "The vendor-specific hardware revision string for the
           component.  The preferred value is the hardware revision
           identifier actually printed on the component itself (if
           present).";
        reference
          "RFC 6933: Entity MIB (Version 4) -
                     entPhysicalHardwareRev";
      }

      leaf firmware-rev {
        type string;
        config false;
        descript

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ion
          "The vendor-specific firmware revision string for the
           component.";
        reference
          "RFC 6933: Entity MIB (Version 4) -
                     entPhysicalFirmwareRev";
      }

      leaf software-rev {
        type string;
        config false;
        description
          "The vendor-specific software revision string for the
           component.";
        reference
          "RFC 6933: Entity MIB (Version 4) -
                     entPhysicalSoftwareRev";
      }

      leaf serial-num {
        type string;
        config false;
        description
          "The vendor-specific serial number string for the
           component.  The preferred value is the serial number
           string actually printed on the component itself (if
           present).";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalSerialNum";
      }

      leaf mfg-name {
        type string;
        config false;
        description
          "The name of the manufacturer

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 of this physical component.
           The preferred value is the manufacturer name string
           actually printed on the component itself (if present).
           Note that comparisons between instances of the
           'model-name', 'firmware-rev', 'software-rev', and
           'serial-num' nodes are only meaningful amongst components
           with the same value of 'mfg-name'.
           If the manufacturer name string associated with the
           physical component is unknown to the server, then this
           node is not instantiated.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalMfgName";
      }

      leaf model-name {
        type string;
        config false;
        description
          "The vendor-specific model name identifier string
           associated with this physical component.  The preferred
           value is the customer-visible part number, which may be
           printed on the component itself.
           If the model name string associate

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d with the physical
           component is unknown to the server, then this node is not
           instantiated.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalModelName";
      }

      leaf alias {
        type string;
        description
          "An 'alias' name for the component, as specified by a
           network manager, that provides a non-volatile 'handle' for
           the component.
           If no configured value exists, the server MAY set the
           value of this node to a locally unique value in the
           operational state.
           A server implementation MAY map this leaf to the
           entPhysicalAlias MIB object.  Such an implementation needs
           to use some mechanism to handle the differences in size
           and characters allowed between this leaf and
           entPhysicalAlias.  The definition of such a mechanism is
           outside the scope of this document.";
        reference
          "RFC 6933: Entity MIB (Version 4) -

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
entPhysicalAlias";
      }

      leaf asset-id {
        type string;
        description
          "This node is a user-assigned asset tracking identifier for
           the component.
           A server implementation MAY map this leaf to the
           entPhysicalAssetID MIB object.  Such an implementation
           needs to use some mechanism to handle the differences in
           size and characters allowed between this leaf and
           entPhysicalAssetID.  The definition of such a mechanism is
           outside the scope of this document.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalAssetID";
      }

      leaf is-fru {
        type boolean;
        config false;
        description
          "This node indicates whether or not this component is
           considered a 'field-replaceable unit' by the vendor.  If
           this node contains the value 'true', then this component
           identifies a field-replaceable unit.  For all components
           that a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
re permanently contained within a field-replaceable
           unit, the value 'false' should be returned for this
           node.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalIsFRU";
      }

      leaf mfg-date {
        type yang:date-and-time;
        config false;
        description
          "The date of manufacturing of the managed component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalMfgDate";
      }

      leaf-list uri {
        type inet:uri;
        description
          "This node contains identification information about the
           component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalUris";
      }

      leaf uuid {
        type yang:uuid;
        config false;
        description
          "A Universally Unique Identifier of the component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalUUID";
      }

      container state {
        if-feature "hardware-stat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e";
        description
          "State-related nodes";
        reference
          "RFC 4268: Entity State MIB";
        leaf state-last-changed {
          type yang:date-and-time;
          config false;
          description
            "The date and time when the value of any of the
             admin-state, oper-state, usage-state, alarm-state, or
             standby-state changed for this component.
             If there has been no change since the last
             re-initialization of the local system, this node
             contains the date and time of local system
             initialization.  If there has been no change since the
             component was added to the local system, this node
             contains the date and time of the insertion.";
          reference
            "RFC 4268: Entity State MIB - entStateLastChanged";
        }

        leaf admin-state {
          type admin-state;
          description
            "The administrative state for this component.
             Thi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
s node refers to a component's administrative
             permission to service both other components within its
             containment hierarchy as well other users of its
             services defined by means outside the scope of this
             module.
             Some components exhibit only a subset of the remaining
             administrative state values.  Some components cannot be
             locked; hence, this node exhibits only the 'unlocked'
             state.  Other components cannot be shut down gracefully;
             hence, this node does not exhibit the 'shutting-down'
             state.";
          reference
            "RFC 4268: Entity State MIB - entStateAdmin";
        }

        leaf oper-state {
          type oper-state;
          config false;
          description
            "The operational state for this component.
             Note that this node does not follow the administrative
             state.  An administrative state of 'down' does not
             predict an

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
operational state of 'disabled'.
             Note that some implementations may not be able to
             accurately report oper-state while the admin-state node
             has a value other than 'unlocked'.  In these cases, this
             node MUST have a value of 'unknown'.";
          reference
            "RFC 4268: Entity State MIB - entStateOper";
        }

        leaf usage-state {
          type usage-state;
          config false;
          description
            "The usage state for this component.
             This node refers to a component's ability to service
             more components in a containment hierarchy.
             Some components will exhibit only a subset of the usage
             state values.  Components that are unable to ever
             service any components within a containment hierarchy
             will always have a usage state of 'busy'.  In some
             cases, a component will be able to support only one
             other component within its containm

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ent hierarchy and
             will therefore only exhibit values of 'idle' and
             'busy'.";
          reference
            "RFC 4268: Entity State MIB - entStateUsage";
        }

        leaf alarm-state {
          type alarm-state;
          config false;
          description
            "The alarm state for this component.  It does not
             include the alarms raised on child components within its
             containment hierarchy.";
          reference
            "RFC 4268: Entity State MIB - entStateAlarm";
        }

        leaf standby-state {
          type standby-state;
          config false;
          description
            "The standby state for this component.
             Some components will exhibit only a subset of the
             remaining standby state values.  If this component
             cannot operate in a standby role, the value of this node
             will always be 'providing-service'.";
          reference
            "RFC 4268: Entity State MIB - entSta

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
teStandby";
        }
      }

      container sensor-data {
        when "derived-from-or-self(../class,\n                                 \"ianahw:sensor\")" {
          description
            "Sensor data nodes present for any component of type
             'sensor'";
        }
        if-feature "hardware-sensor";
        config false;
        description
          "Sensor-related nodes.";
        reference
          "RFC 3433: Entity Sensor Management Information Base";
        leaf value {
          type sensor-value;
          description
            "The most recent measurement obtained by the server
             for this sensor.
             A client that periodically fetches this node should also
             fetch the nodes 'value-type', 'value-scale', and
             'value-precision', since they may change when the value
             is changed.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorValue";
        }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
leaf value-type {
          type sensor-value-type;
          description
            "The type of data units associated with the
             sensor value";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorType";
        }

        leaf value-scale {
          type sensor-value-scale;
          description
            "The (power of 10) scaling factor associated
             with the sensor value";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorScale";
        }

        leaf value-precision {
          type sensor-value-precision;
          description
            "The number of decimal places of precision
             associated with the sensor value";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorPrecision";
        }

        leaf oper-status {
          type sensor-status;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
description
            "The operational status of the sensor.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorOperStatus";
        }

        leaf units-display {
          type string;
          description
            "A textual description of the data units that should be
             used in the display of the sensor value.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorUnitsDisplay";
        }

        leaf value-timestamp {
          type yang:date-and-time;
          description
            "The time the status and/or value of this sensor was last
             obtained by the server.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorValueTimeStamp";
        }

        leaf value-update-rate {
          type uint32;
          units "milliseconds";
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  "An indication of the frequency that the server updates
             the associated 'value' node, represented in
             milliseconds.  The value zero indicates:
              - the sensor value is updated on demand (e.g.,
                when polled by the server for a get-request),
              - the sensor value is updated when the sensor
                value changes (event-driven), or
              - the server does not know the update rate.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorValueUpdateRate";
        }
      }
    }
  }

  notification hardware-state-change {
    description
      "A hardware-state-change notification is generated when the
       value of /hardware/last-change changes in the operational
       state.";
    reference
      "RFC 6933: Entity MIB (Version 4) - entConfigChange";
  }

  notification hardware-state-oper-enabled {
    if-feature "hardware-state";
    description
      "A hardware-s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tate-oper-enabled notification signifies that a
       component has transitioned into the 'enabled' state.";
    reference
      "RFC 4268: Entity State MIB - entStateOperEnabled";
    leaf name {
      type leafref {
        path "/hardware/component/name";
      }
      description
        "The name of the component that has transitioned into the
         'enabled' state.";
    }

    leaf admin-state {
      type leafref {
        path "/hardware/component/state/admin-state";
      }
      description
        "The administrative state for the component.";
    }

    leaf alarm-state {
      type leafref {
        path "/hardware/component/state/alarm-state";
      }
      description
        "The alarm state for the component.";
    }
  }

  notification hardware-state-oper-disabled {
    if-feature "hardware-state";
    description
      "A hardware-state-oper-disabled notification signifies that a
       component has transitioned into the 'disabled' state.";
    reference
      "RFC 4268: Entity State

[INF]: LN: Session 1: sending message:

#622


[INF]: LN: Session 1: sending message:
MIB - entStateOperDisabled";
    leaf name {
      type leafref {
        path "/hardware/component/name";
      }
      description
        "The name of the component that has transitioned into the
         'disabled' state.";
    }

    leaf admin-state {
      type leafref {
        path "/hardware/component/state/admin-state";
      }
      description
        "The administrative state for the component.";
    }

    leaf alarm-state {
      type leafref {
        path "/hardware/component/state/alarm-state";
      }
      description
        "The alarm state for the component.";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="47"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>iana-hardware</identifier><version>2018-03-13</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "iana-hardware" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="47"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module iana-hardware {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:iana-hardware";
  prefix ianahw;

  organization
    "IANA";
  contact
    "        Internet Assigned Numbers Authority
     Postal: ICANN
             12025 Waterfront Drive, Suite 300
             Los Angeles, CA  90094-2536
             United States of America
     Tel:    +1 310 301 5800
     E-Mail: iana@iana.org&gt;";
  description
    "IANA-defined identities for hardware class.
     The latest revision of this YANG module can be obtained from
     the IANA website.
     Requests for new values should be made to IANA via
     email (iana@iana.org).
     Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and su

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
bject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).
     The initial version of this YANG module is part of RFC 8348;
     see the RFC itself for full legal notices.";
  reference
    "https://www.iana.org/assignments/yang-parameters";

  revision 2018-03-13 {
    description
      "Initial revision.";
    reference
      "RFC 8348: A YANG Data Model for Hardware Management";
  }

  identity hardware-class {
    description
      "This identity is the base for all hardware class
       identifiers.";
  }

  identity unknown {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is unknown
       to the server.";
  }

  identity chassis {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is an
       overall container for networking equipment.  Any class o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
f
       physical component, except a stack, may be contained within a
       chassis; a chassis may only be contained within a stack.";
  }

  identity backplane {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of device for aggregating and forwarding networking traffic,
       such as a shared backplane in a modular ethernet switch.  Note
       that an implementation may model a backplane as a single
       physical component, which is actually implemented as multiple
       discrete physical components (within a chassis or stack).";
  }

  identity container {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is capable
       of containing one or more removable physical entities,
       possibly of different types.  For example, each (empty or
       full) slot in a chassis will be modeled as a container.  Note
       that all removable physical components should be modeled
       within

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 a container component, such as field-replaceable
       modules, fans, or power supplies.  Note that all known
       containers should be modeled by the agent, including empty
       containers.";
  }

  identity power-supply {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is a
       power-supplying component.";
  }

  identity fan {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is a fan or
       other heat-reduction component.";
  }

  identity sensor {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of sensor, such as a temperature sensor within a router
       chassis.";
  }

  identity module {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of self-contained sub-system.  If a module component is
       removable, then it should be modeled within a container


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    component; otherwise, it should be modeled directly within
       another physical component (e.g., a chassis or another
       module).";
  }

  identity port {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of networking port capable of receiving and/or transmitting
       networking traffic.";
  }

  identity stack {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of super-container (possibly virtual) intended to group
       together multiple chassis entities.  A stack may be realized
       by a virtual cable, a real interconnect cable attached to
       multiple chassis, or multiple interconnect cables.  A stack
       should not be modeled within any other physical components,
       but a stack may be contained within another stack.  Only
       chassis components should be contained within a stack.";
  }

  identity cpu {
    base hardware-class;
    descrip

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tion
      "This identity is applicable if the hardware class is some sort
       of central processing unit.";
  }

  identity energy-object {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of energy object, i.e., it is a piece of equipment that is
       part of or attached to a communications network that is
       monitored, it is controlled, or it aids in the management of
       another device for Energy Management.";
  }

  identity battery {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of battery.";
  }

  identity storage-drive {
    base hardware-class;
    description
      "This identity is applicable if the hardware class is some sort
       of component with data storage capability as its main
       functionality, e.g., hard disk drive (HDD), solid-state device
       (SSD), solid-state hybrid drive (SSHD), object storage device
       (OSD), or other."

[INF]: LN: Session 1: sending message:

#27


[INF]: LN: Session 1: sending message:
;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="48"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-ip</identifier><version>2018-02-22</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-ip" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="48"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-ip {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-ip";
  prefix ip;

  import ietf-interfaces {
    prefix if;
  }

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NETMOD (Network Modeling) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;
     WG List:  &lt;mailto:netmod@ietf.org&gt;
     Editor:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;";
  description
    "This module contains a collection of YANG definitions for
     managing IP implementations.
     Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the licens

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).
     This version of this YANG module is part of RFC 8344; see
     the RFC itself for full legal notices.";

  revision 2018-02-22 {
    description
      "Updated to support NMDA.";
    reference
      "RFC 8344: A YANG Data Model for IP Management";
  }
  revision 2014-06-16 {
    description
      "Initial revision.";
    reference
      "RFC 7277: A YANG Data Model for IP Management";
  }

  feature ipv4-non-contiguous-netmasks {
    description
      "Indicates support for configuring non-contiguous
       subnet masks.";
  }

  feature ipv6-privacy-autoconf {
    description
      "Indicates support for privacy extensions for stateless address
       autoconfiguration in IPv6.";
    reference
      "RFC 4941: Privacy Extensions for Stateless Address
                 Autoconfiguration in IPv6";
  }

  typedef ip-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
address-origin {
    type enumeration {
      enum "other" {
        description
          "None of the following.";
      }
      enum "static" {
        description
          "Indicates that the address has been statically
           configured -- for example, using the Network Configuration
           Protocol (NETCONF) or a command line interface.";
      }
      enum "dhcp" {
        description
          "Indicates an address that has been assigned to this
           system by a DHCP server.";
      }
      enum "link-layer" {
        description
          "Indicates an address created by IPv6 stateless
           autoconfiguration that embeds a link-layer address in its
           interface identifier.";
      }
      enum "random" {
        description
          "Indicates an address chosen by the system at
           random, e.g., an IPv4 address within 169.254/16, a
           temporary address as described in RFC 4941, or a
           semantically opaque address as described in RFC 7217.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
reference
          "RFC 4941: Privacy Extensions for Stateless Address
                     Autoconfiguration in IPv6
           RFC 7217: A Method for Generating Semantically Opaque
                     Interface Identifiers with IPv6 Stateless
                     Address Autoconfiguration (SLAAC)";
      }
    }
    description
      "The origin of an address.";
  }

  typedef neighbor-origin {
    type enumeration {
      enum "other" {
        description
          "None of the following.";
      }
      enum "static" {
        description
          "Indicates that the mapping has been statically
           configured -- for example, using NETCONF or a command line
           interface.";
      }
      enum "dynamic" {
        description
          "Indicates that the mapping has been dynamically resolved
           using, for example, IPv4 ARP or the IPv6 Neighbor
           Discovery protocol.";
      }
    }
    description
      "The origin of a neighbor entry.";
  }

  augment "/if:interfaces/if:in

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
terface" {
    description
      "IP parameters on interfaces.
       If an interface is not capable of running IP, the server
       must not allow the client to configure these parameters.";
    container ipv4 {
      presence "Enables IPv4 unless the 'enabled' leaf
       (which defaults to 'true') is set to 'false'";
      description
        "Parameters for the IPv4 address family.";
      leaf enabled {
        type boolean;
        default "true";
        description
          "Controls whether IPv4 is enabled or disabled on this
           interface.  When IPv4 is enabled, this interface is
           connected to an IPv4 stack, and the interface can send
           and receive IPv4 packets.";
      }

      leaf forwarding {
        type boolean;
        default "false";
        description
          "Controls IPv4 packet forwarding of datagrams received by,
           but not addressed to, this interface.  IPv4 routers
           forward datagrams.  IPv4 hosts do not (except those
           source-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
routed via the host).";
      }

      leaf mtu {
        type uint16 {
          range "68..max";
        }
        units "octets";
        description
          "The size, in octets, of the largest IPv4 packet that the
           interface will send and receive.
           The server may restrict the allowed values for this leaf,
           depending on the interface's type.
           If this leaf is not configured, the operationally used MTU
           depends on the interface's type.";
        reference
          "RFC 791: Internet Protocol";
      }

      list address {
        key "ip";
        description
          "The list of IPv4 addresses on the interface.";
        leaf ip {
          type inet:ipv4-address-no-zone;
          description
            "The IPv4 address on the interface.";
        }

        choice subnet {
          mandatory true;
          description
            "The subnet can be specified as a prefix length or,
             if the server supports non-contiguous netmasks, as


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
            a netmask.";
          leaf prefix-length {
            type uint8 {
              range "0..32";
            }
            description
              "The length of the subnet prefix.";
          }

          leaf netmask {
            if-feature "ipv4-non-contiguous-netmasks";
            type yang:dotted-quad;
            description
              "The subnet specified as a netmask.";
          }
        }

        leaf origin {
          type ip-address-origin;
          config false;
          description
            "The origin of this address.";
        }
      }

      list neighbor {
        key "ip";
        description
          "A list of mappings from IPv4 addresses to
           link-layer addresses.
           Entries in this list in the intended configuration are
           used as static entries in the ARP Cache.
           In the operational state, this list represents the ARP
           Cache.";
        reference
          "RFC 826: An Ethernet Address Resolution Protocol";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   leaf ip {
          type inet:ipv4-address-no-zone;
          description
            "The IPv4 address of the neighbor node.";
        }

        leaf link-layer-address {
          type yang:phys-address;
          mandatory true;
          description
            "The link-layer address of the neighbor node.";
        }

        leaf origin {
          type neighbor-origin;
          config false;
          description
            "The origin of this neighbor entry.";
        }
      }
    }

    container ipv6 {
      presence "Enables IPv6 unless the 'enabled' leaf
       (which defaults to 'true') is set to 'false'";
      description
        "Parameters for the IPv6 address family.";
      leaf enabled {
        type boolean;
        default "true";
        description
          "Controls whether IPv6 is enabled or disabled on this
           interface.  When IPv6 is enabled, this interface is
           connected to an IPv6 stack, and the interface can send
           and receive IPv6 packets.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    }

      leaf forwarding {
        type boolean;
        default "false";
        description
          "Controls IPv6 packet forwarding of datagrams received by,
           but not addressed to, this interface.  IPv6 routers
           forward datagrams.  IPv6 hosts do not (except those
           source-routed via the host).";
        reference
          "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
                     Section 6.2.1, IsRouter";
      }

      leaf mtu {
        type uint32 {
          range "1280..max";
        }
        units "octets";
        description
          "The size, in octets, of the largest IPv6 packet that the
           interface will send and receive.
           The server may restrict the allowed values for this leaf,
           depending on the interface's type.
           If this leaf is not configured, the operationally used MTU
           depends on the interface's type.";
        reference
          "RFC 8200: Internet Protocol, Version 6 (IPv6)


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          Specification
                     Section 5";
      }

      list address {
        key "ip";
        description
          "The list of IPv6 addresses on the interface.";
        leaf ip {
          type inet:ipv6-address-no-zone;
          description
            "The IPv6 address on the interface.";
        }

        leaf prefix-length {
          type uint8 {
            range "0..128";
          }
          mandatory true;
          description
            "The length of the subnet prefix.";
        }

        leaf origin {
          type ip-address-origin;
          config false;
          description
            "The origin of this address.";
        }

        leaf status {
          type enumeration {
            enum "preferred" {
              description
                "This is a valid address that can appear as the
                 destination or source address of a packet.";
            }
            enum "deprecated" {
              description
                "This is a valid but

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
deprecated address that should
                 no longer be used as a source address in new
                 communications, but packets addressed to such an
                 address are processed as expected.";
            }
            enum "invalid" {
              description
                "This isn't a valid address, and it shouldn't appear
                 as the destination or source address of a packet.";
            }
            enum "inaccessible" {
              description
                "The address is not accessible because the interface
                 to which this address is assigned is not
                 operational.";
            }
            enum "unknown" {
              description
                "The status cannot be determined for some reason.";
            }
            enum "tentative" {
              description
                "The uniqueness of the address on the link is being
                 verified.  Addresses in this state should not be
                 used for gen

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eral communication and should only be
                 used to determine the uniqueness of the address.";
            }
            enum "duplicate" {
              description
                "The address has been determined to be non-unique on
                 the link and so must not be used.";
            }
            enum "optimistic" {
              description
                "The address is available for use, subject to
                 restrictions, while its uniqueness on a link is
                 being verified.";
            }
          }
          config false;
          description
            "The status of an address.  Most of the states correspond
             to states from the IPv6 Stateless Address
             Autoconfiguration protocol.";
          reference
            "RFC 4293: Management Information Base for the
                       Internet Protocol (IP)
                       - IpAddressStatusTC
             RFC 4862: IPv6 Stateless Address Autoconfiguration";
        }
      }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:


      list neighbor {
        key "ip";
        description
          "A list of mappings from IPv6 addresses to
           link-layer addresses.
           Entries in this list in the intended configuration are
           used as static entries in the Neighbor Cache.
           In the operational state, this list represents the
           Neighbor Cache.";
        reference
          "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)";
        leaf ip {
          type inet:ipv6-address-no-zone;
          description
            "The IPv6 address of the neighbor node.";
        }

        leaf link-layer-address {
          type yang:phys-address;
          mandatory true;
          description
            "The link-layer address of the neighbor node.
             In the operational state, if the neighbor's 'state' leaf
             is 'incomplete', this leaf is not instantiated.";
        }

        leaf origin {
          type neighbor-origin;
          config false;
          description
            "

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
The origin of this neighbor entry.";
        }

        leaf is-router {
          type empty;
          config false;
          description
            "Indicates that the neighbor node acts as a router.";
        }

        leaf state {
          type enumeration {
            enum "incomplete" {
              description
                "Address resolution is in progress, and the
                 link-layer address of the neighbor has not yet been
                 determined.";
            }
            enum "reachable" {
              description
                "Roughly speaking, the neighbor is known to have been
                 reachable recently (within tens of seconds ago).";
            }
            enum "stale" {
              description
                "The neighbor is no longer known to be reachable, but
                 until traffic is sent to the neighbor no attempt
                 should be made to verify its reachability.";
            }
            enum "delay" {
              descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
                "The neighbor is no longer known to be reachable, and
                 traffic has recently been sent to the neighbor.
                 Rather than probe the neighbor immediately, however,
                 delay sending probes for a short while in order to
                 give upper-layer protocols a chance to provide
                 reachability confirmation.";
            }
            enum "probe" {
              description
                "The neighbor is no longer known to be reachable, and
                 unicast Neighbor Solicitation probes are being sent
                 to verify reachability.";
            }
          }
          config false;
          description
            "The Neighbor Unreachability Detection state of this
             entry.";
          reference
            "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
                       Section 7.3.2";
        }
      }

      leaf dup-addr-detect-transmits {
        type uint32;
        default "1";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   description
          "The number of consecutive Neighbor Solicitation messages
           sent while performing Duplicate Address Detection on a
           tentative address.  A value of zero indicates that
           Duplicate Address Detection is not performed on
           tentative addresses.  A value of one indicates a single
           transmission with no follow-up retransmissions.";
        reference
          "RFC 4862: IPv6 Stateless Address Autoconfiguration";
      }

      container autoconf {
        description
          "Parameters to control the autoconfiguration of IPv6
           addresses, as described in RFC 4862.";
        reference
          "RFC 4862: IPv6 Stateless Address Autoconfiguration";
        leaf create-global-addresses {
          type boolean;
          default "true";
          description
            "If enabled, the host creates global addresses as
             described in RFC 4862.";
          reference
            "RFC 4862: IPv6 Stateless Address Autoconfiguratio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n
                       Section 5.5";
        }

        leaf create-temporary-addresses {
          if-feature "ipv6-privacy-autoconf";
          type boolean;
          default "false";
          description
            "If enabled, the host creates temporary addresses as
             described in RFC 4941.";
          reference
            "RFC 4941: Privacy Extensions for Stateless Address
                       Autoconfiguration in IPv6";
        }

        leaf temporary-valid-lifetime {
          if-feature "ipv6-privacy-autoconf";
          type uint32;
          units "seconds";
          default "604800";
          description
            "The time period during which the temporary address
             is valid.";
          reference
            "RFC 4941: Privacy Extensions for Stateless Address
                       Autoconfiguration in IPv6
                       - TEMP_VALID_LIFETIME";
        }

        leaf temporary-preferred-lifetime {
          if-feature "ipv6-privacy-autoconf";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  type uint32;
          units "seconds";
          default "86400";
          description
            "The time period during which the temporary address is
             preferred.";
          reference
            "RFC 4941: Privacy Extensions for Stateless Address
                       Autoconfiguration in IPv6
                       - TEMP_PREFERRED_LIFETIME";
        }
      }
    }
  }

  augment "/if:interfaces-state/if:interface" {
    status deprecated;
    description
      "Data nodes for the operational state of IP on interfaces.";
    container ipv4 {
      presence "Present if IPv4 is enabled on this interface";
      config false;
      status deprecated;
      description
        "Interface-specific parameters for the IPv4 address family.";
      leaf forwarding {
        type boolean;
        status deprecated;
        description
          "Indicates whether IPv4 packet forwarding is enabled or
           disabled on this interface.";
      }

      leaf mtu {
        type uint16 {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  range "68..max";
        }
        units "octets";
        status deprecated;
        description
          "The size, in octets, of the largest IPv4 packet that the
           interface will send and receive.";
        reference
          "RFC 791: Internet Protocol";
      }

      list address {
        key "ip";
        status deprecated;
        description
          "The list of IPv4 addresses on the interface.";
        leaf ip {
          type inet:ipv4-address-no-zone;
          status deprecated;
          description
            "The IPv4 address on the interface.";
        }

        choice subnet {
          status deprecated;
          description
            "The subnet can be specified as a prefix length or,
             if the server supports non-contiguous netmasks, as
             a netmask.";
          leaf prefix-length {
            type uint8 {
              range "0..32";
            }
            status deprecated;
            description
              "The length of the subnet pref

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ix.";
          }

          leaf netmask {
            if-feature "ipv4-non-contiguous-netmasks";
            type yang:dotted-quad;
            status deprecated;
            description
              "The subnet specified as a netmask.";
          }
        }

        leaf origin {
          type ip-address-origin;
          status deprecated;
          description
            "The origin of this address.";
        }
      }

      list neighbor {
        key "ip";
        status deprecated;
        description
          "A list of mappings from IPv4 addresses to
           link-layer addresses.
           This list represents the ARP Cache.";
        reference
          "RFC 826: An Ethernet Address Resolution Protocol";
        leaf ip {
          type inet:ipv4-address-no-zone;
          status deprecated;
          description
            "The IPv4 address of the neighbor node.";
        }

        leaf link-layer-address {
          type yang:phys-address;
          status deprecated;
          descri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ption
            "The link-layer address of the neighbor node.";
        }

        leaf origin {
          type neighbor-origin;
          status deprecated;
          description
            "The origin of this neighbor entry.";
        }
      }
    }

    container ipv6 {
      presence "Present if IPv6 is enabled on this interface";
      config false;
      status deprecated;
      description
        "Parameters for the IPv6 address family.";
      leaf forwarding {
        type boolean;
        default "false";
        status deprecated;
        description
          "Indicates whether IPv6 packet forwarding is enabled or
           disabled on this interface.";
        reference
          "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
                     Section 6.2.1, IsRouter";
      }

      leaf mtu {
        type uint32 {
          range "1280..max";
        }
        units "octets";
        status deprecated;
        description
          "The size, in octets, of the largest IPv6 packe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t that the
           interface will send and receive.";
        reference
          "RFC 8200: Internet Protocol, Version 6 (IPv6)
                     Specification
                     Section 5";
      }

      list address {
        key "ip";
        status deprecated;
        description
          "The list of IPv6 addresses on the interface.";
        leaf ip {
          type inet:ipv6-address-no-zone;
          status deprecated;
          description
            "The IPv6 address on the interface.";
        }

        leaf prefix-length {
          type uint8 {
            range "0..128";
          }
          mandatory true;
          status deprecated;
          description
            "The length of the subnet prefix.";
        }

        leaf origin {
          type ip-address-origin;
          status deprecated;
          description
            "The origin of this address.";
        }

        leaf status {
          type enumeration {
            enum "preferred" {
              description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
              "This is a valid address that can appear as the
                 destination or source address of a packet.";
            }
            enum "deprecated" {
              description
                "This is a valid but deprecated address that should
                 no longer be used as a source address in new
                 communications, but packets addressed to such an
                 address are processed as expected.";
            }
            enum "invalid" {
              description
                "This isn't a valid address, and it shouldn't appear
                 as the destination or source address of a packet.";
            }
            enum "inaccessible" {
              description
                "The address is not accessible because the interface
                 to which this address is assigned is not
                 operational.";
            }
            enum "unknown" {
              description
                "The status cannot be determined for some reason.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
           }
            enum "tentative" {
              description
                "The uniqueness of the address on the link is being
                 verified.  Addresses in this state should not be
                 used for general communication and should only be
                 used to determine the uniqueness of the address.";
            }
            enum "duplicate" {
              description
                "The address has been determined to be non-unique on
                 the link and so must not be used.";
            }
            enum "optimistic" {
              description
                "The address is available for use, subject to
                 restrictions, while its uniqueness on a link is
                 being verified.";
            }
          }
          status deprecated;
          description
            "The status of an address.  Most of the states correspond
             to states from the IPv6 Stateless Address
             Autoconfiguration protocol.";
          ref

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
erence
            "RFC 4293: Management Information Base for the
                       Internet Protocol (IP)
                       - IpAddressStatusTC
             RFC 4862: IPv6 Stateless Address Autoconfiguration";
        }
      }

      list neighbor {
        key "ip";
        status deprecated;
        description
          "A list of mappings from IPv6 addresses to
           link-layer addresses.
           This list represents the Neighbor Cache.";
        reference
          "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)";
        leaf ip {
          type inet:ipv6-address-no-zone;
          status deprecated;
          description
            "The IPv6 address of the neighbor node.";
        }

        leaf link-layer-address {
          type yang:phys-address;
          status deprecated;
          description
            "The link-layer address of the neighbor node.";
        }

        leaf origin {
          type neighbor-origin;
          status deprecated;
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          "The origin of this neighbor entry.";
        }

        leaf is-router {
          type empty;
          status deprecated;
          description
            "Indicates that the neighbor node acts as a router.";
        }

        leaf state {
          type enumeration {
            enum "incomplete" {
              description
                "Address resolution is in progress, and the
                 link-layer address of the neighbor has not yet been
                 determined.";
            }
            enum "reachable" {
              description
                "Roughly speaking, the neighbor is known to have been
                 reachable recently (within tens of seconds ago).";
            }
            enum "stale" {
              description
                "The neighbor is no longer known to be reachable, but
                 until traffic is sent to the neighbor no attempt
                 should be made to verify its reachability.";
            }
            enum "delay" {


[INF]: LN: Session 1: sending message:

#989


[INF]: LN: Session 1: sending message:
       description
                "The neighbor is no longer known to be reachable, and
                 traffic has recently been sent to the neighbor.
                 Rather than probe the neighbor immediately, however,
                 delay sending probes for a short while in order to
                 give upper-layer protocols a chance to provide
                 reachability confirmation.";
            }
            enum "probe" {
              description
                "The neighbor is no longer known to be reachable, and
                 unicast Neighbor Solicitation probes are being sent
                 to verify reachability.";
            }
          }
          status deprecated;
          description
            "The Neighbor Unreachability Detection state of this
             entry.";
          reference
            "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
                       Section 7.3.2";
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="49"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-compression-factors</identifier><version>2020-03-05</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-compression-factors" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="49"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-compression-factors {
  yang-version 1.1;
  namespace "urn:o-ran:compression-factors:1.0";
  prefix o-ran-compression-factors;

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the module capabilities for
     the O-RAN Radio Unit U-Plane configuration.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DA

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
TA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
03-05 {
    description
      "version 3.0.0

       1) adding selective RE sending compression types";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 1.1.0

       1) changes related to compression bitwidth presentation";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping compression-params {
    leaf compression-type {
      type enumeration {
        enum "STATIC" {
          description
            "Indicates that static compression method will be used (both compression and IQ bitwidth)";
        }
        enum "DYNAMIC" {
          description
            "Indicates that dynamic compression method will be used";
        }
      }
      mandatory true;
      description
        "Compression type that O-DU wants to be supported";
    }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
leaf bitwidth {
      when "../compression-type = 'STATIC'";
      type uint8;
      status deprecated;
      description
        "Bitwidth to be used in compression";
    }

    choice compression-format {
      description
        "Choice of compression format for particular element";
      case no-compresison {
        description
          "Compression for beam weights is not supported.";
      }

      case block-floating-point {
        description
          "Block floating point compression and decompression is supported.";
        leaf exponent {
          type uint8 {
            range "4";
          }
          description
            "Exponent bit width size in number of bits used when encoding in udCompParam.";
        }
      }

      case block-floating-point-selective-re-sending {
        description
          "Block floating point with selective re sending compression and decompression is supported.";
        leaf sres-exponent {
          type uint8 {
            range "4";
          }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    description
            "Exponent bit width size in number of bits used when encoding in udCompParam.";
        }
      }

      case block-scaling {
        description
          "Block scaling compression and decompresion is supported.";
        leaf block-scalar {
          type uint8;
          description
            "Common scaler for compressed PRB";
        }
      }

      case u-law {
        description
          "u-Law compression and decompresion method is supported.";
        leaf comp-bit-width {
          type uint8 {
            range "0..15";
          }
          description
            "Bit with for u-law compression";
        }

        leaf comp-shift {
          type uint8 {
            range "0..15";
          }
          description
            "the shift applied to the entire PRB";
        }
      }

      case beam-space-compression {
        description
          "Beamspace compression and decompression is supported. Applies to beamforming weights only.";
        leaf-list acti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ve-beam-space-coeficient-mask {
          type uint8;
          description
            "active beamspace coefficient indices associated with the compressed beamforming vector";
        }

        leaf block-scaler {
          type uint8;
          description
            "Common scaler for compressed beamforming coefficients";
        }
      }

      case modulation-compression {
        description
          "Modulation compression and decompression is supported.";
        leaf csf {
          type uint8 {
            range "0..1";
          }
          description
            "Constallation shift flag";
        }

        leaf mod-comp-scaler {
          type uint16 {
            range "0..32767";
          }
          description
            "Modulation compression scaler value.";
        }
      }

      case modulation-compression-selective-re-sending {
        description
          "Modulation compression with selective re sending and decompression is supported.";
        leaf sres-csf {
          typ

[INF]: LN: Session 1: sending message:

#551


[INF]: LN: Session 1: sending message:
e uint8 {
            range "0..1";
          }
          description
            "Constallation shift flag";
        }

        leaf sres-mod-comp-scaler {
          type uint16 {
            range "0..32767";
          }
          description
            "Modulation compression scaler value.";
        }
      }
    }
  }

  grouping compression-details {
    description
      "";
    leaf iq-bitwidth {
      type uint8;
      description
        "Bitwidth to be used in compression";
    }

    uses compression-params;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="50"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-delay-management</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-delay-management" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="50"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-delay-management {
  yang-version 1.1;
  namespace "urn:o-ran:delay:1.0";
  prefix o-ran-delay;

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module covers off aspects of O-DU to O-RU delay management,
     including config data related to O-RU transmission and reception
     windows.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERV

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
.";

  revision 2019-07-03 {
    description
      "version 1.1.0

       1) fixing descriptions of ta3-min and ta3-max.
       2) introducing grouping/uses to enable model re-use by WG5";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature ADAPTIVE-RU-PROFILE {
    description
      "This feature indicates that the O-RU supports adaptive O-RU delay profile
       based on information provided by the NETCONF client.";
  }

  typedef bandwidth {
    type uint32 {
      range "200 | 1400 | 3000 | 5000 | 10000 | 15000 | 20000 | 25000 |\n30000 | 40000 | 50000 | 60000 | 70000 | 80000 | 90000 | 100000\n| 200000 | 400000";
    }
    units "kilohertz";
    description
      "transmission bandwidth configuration in units of kHz -
       covering NBIoT through to New Radio - see 38.104";
  }

  grouping bandwi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
dth-configuration {
    description
      "Grouping for bandwidth and scs configuration";
    leaf bandwidth {
      type bandwidth;
      description
        "transmission bandwidth configuration in units of kHz -
         covering NBIoT through to New Radio - see 38.104";
    }

    leaf subcarrier-spacing {
      type uint32 {
        range "0 .. 240000 ";
      }
      units "Hertz";
      description
        "subcarrier spacing in Hz";
    }
  }

  grouping t2a-up {
    description
      "configuration of t2a for uplink";
    leaf t2a-min-up {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "the minimum O-RU data processing delay between receiving IQ data
         message over the fronthaul interface and transmitting
         the corresponding first IQ sample at the antenna";
    }

    leaf t2a-max-up {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "the earliest allowable time when a data packet is received bef

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ore
         the corresponding first IQ sample is transmitted at the antenna";
    }
  }

  grouping t2a-cp-dl {
    description
      "Grouping for t2a CP for downlink";
    leaf t2a-min-cp-dl {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "the minimum O-RU data processing delay between receiving downlink
         real time control plane message over the fronthaul interface and
         transmitting the corresponding first IQ sample at the antenna";
    }

    leaf t2a-max-cp-dl {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "the earliest allowable time when a downlink real time control message
         is received before the corresponding first IQ sample is transmitted at
         the antenna";
    }
  }

  grouping ta3 {
    description
      "Grouping for ta3 configuration";
    leaf ta3-min {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "the minimum O-RU data

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
processing delay between receiving an IQ sample
         at the antenna and transmitting the first data sample over the
         fronthaul interface";
    }

    leaf ta3-max {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "the maximum O-RU data processing delay between receiving an IQ sample
         at the antenna and transmitting the last data sample over the
         fronthaul interface";
    }
  }

  grouping t2a-cp-ul {
    description
      "Grouping for t2a CP uplink";
    leaf t2a-min-cp-ul {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "the minimum O-RU data processing delay between receiving real time
         up-link control plane message over the fronthaul interface and
         recieving the first IQ sample at the antenna";
    }

    leaf t2a-max-cp-ul {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "the earliest allowable time when a real time up-link

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 control message
         is received before the corresponding first IQ sample is received  at
         the antenna";
    }
  }

  grouping ru-delay-profile {
    description
      "Grouping for ru delay profile";
    uses t2a-up;

    uses t2a-cp-dl;

    leaf tcp-adv-dl {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "the time difference (advance) between the reception window for
         downlink real time Control messages and reception window for the
         corresponding IQ data messages.";
    }

    uses ta3;

    uses t2a-cp-ul;
  }

  grouping o-du-delay-profile {
    description
      "Grouping for O-DU delay profile";
    leaf t1a-max-up {
      type uint32;
      units "nanoseconds";
      description
        "the earliest possible time which the O-DU can support transmiting
         an IQ data message prior to transmission of the corresponding IQ
         samples at the antenna";
    }

    leaf tx-max {
      type uint32;
      units "nanoseconds"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
      description
        "The maximum amount of time which the O-DU requires to transmit
         all downlink user plane IQ data message for a symbol";
    }

    leaf ta4-max {
      type uint32;
      units "nanoseconds";
      description
        "the latest possible time which the O-DU can support receiving the
         last uplink user plane IQ data message for a symbol.";
    }

    leaf rx-max {
      type uint32;
      units "nanoseconds";
      description
        "The maximum time difference the O-DU can support between
         receiving the first user plane IQ data message for a symbol and
         receiving the last user plane IQ data message for the same symbol";
    }
  }

  grouping t12 {
    description
      "Grouping for t12";
    leaf t12-min {
      type uint32;
      units "nanoseconds";
      description
        "the minimum measured delay between DU port-ID and O-RU port-ID";
    }

    leaf t12-max {
      type uint32;
      units "nanoseconds";
      description
        "the maxi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
mum measured delay between CU port-ID and O-RU port-ID";
    }
  }

  grouping t34 {
    description
      "Grouping for t34";
    leaf t34-min {
      type uint32;
      units "nanoseconds";
      description
        "the minimum measured delay between O-RU port-ID and CU port-ID";
    }

    leaf t34-max {
      type uint32;
      units "nanoseconds";
      description
        "the maximum measured delay between O-RU port-ID and CU port-ID";
    }
  }

  grouping delay-management-group {
    list bandwidth-scs-delay-state {
      key "bandwidth subcarrier-spacing";
      description
        "Array of structures containing sets of parameters for delay management.";
      uses bandwidth-configuration;

      container ru-delay-profile {
        config false;
        description
          "container for O-RU delay parameters";
        uses ru-delay-profile;
      }
    }

    container adaptive-delay-configuration {
      if-feature "ADAPTIVE-RU-PROFILE";
      description
        "container for adaptive delay

[INF]: LN: Session 1: sending message:

#768


[INF]: LN: Session 1: sending message:
 parameters";
      list bandwidth-scs-delay-state {
        key "bandwidth subcarrier-spacing";
        description
          "Array of structures containing sets of parameters for delay management.";
        uses bandwidth-configuration;

        container o-du-delay-profile {
          description
            "O-DU provided delay profile for adaptive delay configuration";
          uses o-du-delay-profile;
        }
      }

      container transport-delay {
        description
          "O-DU provided transport-delay parameters";
        uses t12;

        uses t34;
      }
    }
  }

  container delay-management {
    description
      "top level tree covering off O-DU to O-RU delay management";
    uses delay-management-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="51"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-dhcp</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-dhcp" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="51"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-dhcp {
  yang-version 1.1;
  namespace "urn:o-ran:dhcp:1.0";
  prefix o-ran-dhcp;

  import ietf-interfaces {
    prefix if;
  }

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-dhcpv6-types {
    prefix dhcpv6-type;
    revision-date 2018-01-30;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for managng the DHCP client.

     Copyright 2019 the O-RAN alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQU

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 promote products derived from
     this software without specific prior written permission.";

  revision 2019-07-03 {
    description
      "version 1.1.0

       1) backward compatible changes to fix pen number which always
       should have been 32 bits
       2) backward compatible changes to introduce reporting of 3GPP
       discovered MV-PnP information, including CA/RA Servers and SeGW
       3) backward compatible changes to introduce groupings";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  typedef netconf-client-id {
    type union {
      type inet:ip-address;
      type inet:uri;
    }
    description
      "A NETCONF client identifier";
  }

  typedef ca-ra-server-id {
    type union {
      type inet:ip-address;
      type inet:uri;
    }
    description
      "A CA/RA Server identifie

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
r";
  }

  typedef segw-id {
    type union {
      type inet:ip-address;
      type inet:uri;
    }
    description
      "A SeGW identifier";
  }

  grouping ca-ra-servers {
    description
      "The CA/RA servers discovered using DHCP, discovered using the 3GPP
       defined options in 3GPP 32.509 in vendor specific option 43/17";
    list ca-ra-servers {
      key "servers";
      description
        "A list of IP addresses or URIs for CA/RA Servers";
      leaf servers {
        type ca-ra-server-id;
        description
          "the server identifier";
      }

      leaf port-number {
        type inet:port-number;
        description
          "an optional (non-default) port";
      }

      leaf ca-ra-path {
        type string;
        description
          "ASCII string representing the path to the CMP server directory.
           A CMP server may be located in an arbitrary path other than root.";
      }

      leaf subject-name {
        type string;
        description
          "ASCII string

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 representing the subject name of the CA/RA. ";
      }

      leaf protocol {
        type enumeration {
          enum "HTTP";
          enum "HTTPS";
        }
      }
    }
  }

  grouping security-gateways {
    description
      "The security gateways discovered using DHCP, discovered using the 3GPP
       defined options in 3GPP 32.509 in vendor specific option 43/17";
    list segw {
      key "gateways";
      description
        "A list of IP addresses or URIs for SeGW";
      leaf gateways {
        type segw-id;
        description
          "the SeGW identifier";
      }
    }
  }

  grouping netconf-clients {
    description
      "The netconf clients discovered using DHCP, discovered using the IANA
       defined options or O-RAN defined syntax for encoding IP adresses or FQDNs
       in vendor specific option 43/17";
    list netconf-clients {
      key "client";
      description
        "A list of IP addresses or URIs for NETCONF clients";
      leaf client {
        type netconf-client-id;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
        description
          "the client identifier";
      }

      leaf optional-port {
        type inet:port-number;
        description
          "an optional (non-default) port";
      }
    }
  }

  grouping dhcpv4-option {
    description
      "DHCPv4 Configuration options";
    leaf dhcp-server-identifier {
      type inet:ip-address;
      description
        "DHCP server identifier";
    }

    leaf domain-name {
      type string;
      description
        "Name of the domain";
    }

    leaf-list domain-name-servers {
      type inet:ip-address;
      description
        "A list of DNS servers";
    }

    leaf interface-mtu {
      type uint32 {
        range "0..65535";
      }
      description
        "Minimum Transmission Unit (MTU) of the interface";
    }

    leaf-list default-gateways {
      type inet:ip-address;
      description
        "the list of default gateways on the O-RUs subnet";
    }

    uses netconf-clients;

    uses ca-ra-servers;

    uses security-gateways;
  }

  g

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rouping dhcpv6-option {
    description
      "DHCPv6 Configuration options";
    container dhcp-server-identifier {
      description
        "dhcpv6 server identifief";
      uses dhcpv6-type:duid;
    }

    leaf domain-name {
      type string;
      description
        "Name of the domain";
    }

    leaf-list domain-name-servers {
      type inet:ip-address;
      description
        "A list of DNS servers";
    }

    uses netconf-clients;

    uses ca-ra-servers;

    uses security-gateways;
  }

  grouping dhcp-group {
    list interfaces {
      key "interface";
      description
        "Interface configuration";
      leaf interface {
        type if:interface-ref;
        description
          "Name of the interface";
      }

      container dhcpv4 {
        description
          "DHCPv4 information";
        leaf client-id {
          type string;
          description
            "DHCP client identifier";
        }

        uses dhcpv4-option;
      }

      container dhcpv6 {
        descrip

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tion
          "DHCPv6 information";
        container dhcp-client-identifier {
          description
            "dhcpv6 client identifief";
          uses dhcpv6-type:duid;
        }

        uses dhcpv6-option;
      }
    }

    container m-plane-dhcp {
      description
        "leafs covering off DHCP aspects of m-plane operations";
      leaf private-enterprise-number {
        type uint16;
        default "53148";
        status deprecated;
        description
          "the private enteprise number allocated to O-RAN Alliance";
      }

      leaf private-enterprise-num {
        type uint32;
        default "53148";
        description
          "the private enterprise number allocated to O-RAN Alliance";
      }

      leaf vendor-class-data {
        type string;
        description
          "The string used in DHCPv4 option 60 or DHCPv4 option 124 and
           DHCPv6 option 16";
      }
    }
  }

  container dhcp {
    config false;
    description
      "DHCP client configuration";
    uses

[INF]: LN: Session 1: sending message:

#37


[INF]: LN: Session 1: sending message:
dhcp-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="52"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-file-management</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-file-management" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="52"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-file-management {
  yang-version 1.1;
  namespace "urn:o-ran:file-management:1.0";
  prefix o-ran-file-mgmt;

  import ietf-crypto-types {
    prefix ct;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the configuration and operations for handling upload.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revisi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on 2019-07-03 {
    description
      "version 1.1.0

       1) backward compatible changes to correct sFTP Server Authentication .
       2) minor fixes according to lack of descriptions
       3) backward compatible changes to introduce groupings";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping file-path-grouping {
    description
      "Complete logical path of the file to upload/download
       (no wildcard is allowed) ex : /o-RAN/log/syslog.1";
    leaf local-logical-file-path {
      type string;
      mandatory true;
      description
        "Local logical file path";
    }

    leaf remote-file-path {
      type string;
      mandatory true;
      description
        "URI specifying the remote-file-path on O-DU/NMS.
         Format:sftp://&lt;username&gt;@&lt;host&gt;[:port]/path";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 }
  }

  grouping output-status-grouping {
    description
      "Status grouping";
    leaf status {
      type enumeration {
        enum "SUCCESS" {
          description
            "";
        }
        enum "FAILURE" {
          description
            "";
        }
      }
      description
        "Operation status";
    }

    leaf reject-reason {
      when "../status = 'FAILURE'";
      type string;
      description
        "";
    }
  }

  grouping credential-information {
    description
      "Type of authentication to use for SFTP upload or download.";
    choice credentials {
      description
        "";
      case password {
        container password {
          presence "true";
          description
            "password for O-RU authentication method in use";
          leaf password {
            type string;
            mandatory true;
            description
              "password needed for O-RU authentication.";
          }
        }

        container server {
          descriptio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n
            "Key for sFTP server authentication";
          list keys {
            key "algorithm";
            ordered-by user;
            description
              "List of allowed algorithms with its keys";
            uses ct:public-key-grouping;
          }
        }
      }

      case certificate {
        container certificate {
          presence "true";
          description
            "certificate authentication method in use";
        }
      }
    }
  }

  grouping retrieve-input {
    description
      "Grouping for information retrieval RPC input";
    leaf logical-path {
      type string;
      mandatory true;
      description
        "O-RAN unit of which the files are to be listed.
         ex :  O-RAN/log, o-RAN/PM, O-RAN/transceiver";
    }

    leaf file-name-filter {
      type string;
      description
        "Filter which are to be applied on the result list of file names (* is allowed as wild-card).";
    }
  }

  grouping retrieve-output {
    description
      "Grouping for i

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nformation retrieval RPC output";
    uses output-status-grouping;

    leaf-list file-list {
      when "../status = 'SUCCESS'";
      type string;
      description
        "List of files in the unit with the filter applied.";
    }
  }

  rpc file-upload {
    description
      "File upload over SFTP from equipment to NETCONF client";
    input {
      uses file-path-grouping;

      uses credential-information;
    }

    output {
      uses output-status-grouping;
    }
  }

  rpc retrieve-file-list {
    description
      "List all the files in the logical O-RAN unit (* is allowed as wild-card).";
    input {
      uses retrieve-input;
    }

    output {
      uses retrieve-output;
    }
  }

  rpc file-download {
    description
      "Management plane triggered to generate the download file of O-RU.";
    input {
      uses file-path-grouping;

      uses credential-information;
    }

    output {
      uses output-status-grouping;
    }
  }

  notification file-upload-notification {
    description

[INF]: LN: Session 1: sending message:

#230


[INF]: LN: Session 1: sending message:

      "";
    uses file-path-grouping;

    uses output-status-grouping;
  }

  notification file-download-event {
    description
      "";
    uses file-path-grouping;

    uses output-status-grouping;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 1 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="53"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-interfaces</identifier><version>2020-04-17</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-interfaces" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="53"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-interfaces {
  yang-version 1.1;
  namespace "urn:o-ran:interfaces:1.0";
  prefix o-ran-int;

  import ietf-inet-types {
    prefix inet;
  }

  import iana-if-type {
    prefix ianaift;
  }

  import ietf-interfaces {
    prefix if;
  }

  import ietf-ip {
    prefix ip;
  }

  import ietf-hardware {
    prefix hw;
  }

  import ietf-yang-types {
    prefix yang;
  }

  import iana-hardware {
    prefix ianahw;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for managng the O-RAN
     interfaces.

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-04-17 {
    description
      "version 1.2.0

       1) updated descriptions to clarify operation when vlan-tagging is false";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 1.1.0

       1) increasing max elements for user plane DSCP markings to 64
       2) re-organizing layout to facilitate cross-WG adoption, whilst ensuring
       nodes are syntactically and semantically equivalent";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature UDPIP-BASED-CU-PLANE {
    descriptio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n
      "This feature indicates that the RU supports the UDP/IP based transport
       for the CU plane.";
  }

  feature ALIASMAC-BASED-CU-PLANE {
    description
      "This feature indicates that the RU supports the alias MAC address
       based transport for the CU plane.";
  }

  typedef pcp {
    type uint8 {
      range "0..7";
    }
    description
      "Priority Code Point. PCP is a 3-bit field that refers to the
       class of service applied to a VLAN tagged frame.  The
       field specifies a priority value between 0 and 7, these values
       can be used by quality of service (QoS) to prioritize
       different classes of traffic.";
    reference
      "IEEE 802.1Q-2014: Virtual Bridged Local Area Networks";
  }

  grouping cos-marking {
    description
      "Configuration data for CU Plane ethernet CoS marking.
       This grouping is only applicable to an interface when vlan-tagging is
       set to TRUE for that interface. In other cases, it may be ignored.";
    container class-of-servi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ce {
      description
        "CoS Configuration";
      leaf u-plane-marking {
        type pcp;
        default "7";
        description
          "Marking used for default u-plane flows.
           7 represents highest priority for u-plane marking";
      }

      leaf c-plane-marking {
        type pcp;
        default "7";
        description
          "7 represents highest priority for c-plane marking";
      }

      leaf m-plane-marking {
        type pcp;
        default "2";
        description
          "2 represents highest excellent effort for m-plane marking";
      }

      leaf s-plane-marking {
        type pcp;
        default "7";
        description
          "7 represents highest priority for s-plane marking";
      }

      leaf other-marking {
        type pcp;
        default "1";
        description
          "1 represents best effort for other marking";
      }

      list enhanced-uplane-markings {
        key "up-marking-name";
        max-elements 4;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "list of mappings for enhanced (non-default) u-plane markings";
        leaf up-marking-name {
          type string;
          description
            "The name of the marking";
        }

        leaf enhanced-marking {
          type pcp;
          description
            "the enhanced u-plane marking";
        }
      }
    }
  }

  grouping dscp-marking {
    description
      "Configuration data for CU Plane DSCP marking";
    container diffserv-markings {
      description
        "DSCP Configuration";
      leaf u-plane-marking {
        type inet:dscp;
        default "46";
        description
          "Marking used for default u-plane flows.
           46 represents expedited forwarding";
      }

      leaf c-plane-marking {
        type inet:dscp;
        default "46";
        description
          "46 represents expedited forwarding";
      }

      leaf s-plane-marking {
        type inet:dscp;
        default "46";
        description
          "46 represents expedited forwarding";
      }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     leaf other-marking {
        type inet:dscp;
        default "0";
        description
          "0 represents best effort forwarding";
      }

      list enhanced-uplane-markings {
        key "up-marking-name";
        max-elements 64;
        description
          "list of mappings for enhanced (non-default) u-plane markings";
        leaf up-marking-name {
          type string;
          description
            "The name of the marking";
        }

        leaf enhanced-marking {
          type inet:dscp;
          description
            "the enhanced u-plane marking";
        }
      }
    }
  }

  augment "/if:interfaces/if:interface" {
    when "if:type = 'ianaift:ethernetCsmacd'" {
      description
        "Applies to Ethernet interfaces";
    }
    description
      "Augment the interface model with parameters for
       base Ethernet interface";
    leaf l2-mtu {
      type uint16 {
        range "64 .. 65535";
      }
      units "bytes";
      default "1500";
      description
        "The

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 maximum size of layer 2 frames that may be transmitted
         or received on the interface (excluding any FCS overhead).
         For Ethernet interfaces it also excludes the
         4-8 byte overhead of any known (i.e. explicitly matched by
         a child sub-interface) 801.1Q VLAN tags.";
    }

    leaf vlan-tagging {
      type boolean;
      default "true";
      description
        "Indicates if VLAN tagging is used.
         Default true is used to enable equipment to autonomously discover that
         it is connected to a trunk port.

         This may be set to false, for example, when the O-RU is directly
         connected to the O-DU. In such cases, native Ethernet frames may be
         used across the O-RAN interface, i.e., any PCP markings defined
         in the cos-markings grouping are NOT used by the O-RU and any default
         value or configured value using those leafs may be ignored by the O-RAN
         equipment.";
    }

    uses cos-marking;
  }

  augment "/if:interfaces/if

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
:interface" {
    when "if:type = 'ianaift:l2vlan'";
    description
      "augments for VLAN definition";
    leaf base-interface {
      type if:interface-ref;
      must "/if:interfaces/if:interface[if:name = current()]/o-ran-int:vlan-tagging = 'true'" {
        description
          "The base interface must have VLAN tagging enabled.";
      }
      description
        "The base interface for the VLAN sub-interafce.";
    }

    leaf vlan-id {
      type uint16 {
        range "1..4094";
      }
      description
        "The VLAN-ID.";
    }
  }

  augment "/if:interfaces/if:interface" {
    when "(if:type = 'ianaift:ethernetCsmacd') or\n(if:type = 'ianaift:l2vlan')" {
      description
        "Applies to ethernetCsmacd and l2vlan interfaces";
    }
    description
      "Augment the interface model with parameters for all
       both ethernetCsmacd and l2vlan interfaces.";
    leaf last-cleared {
      type yang:date-and-time;
      config false;
      description
        "Timestamp of the last time th

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e interface counters were
         cleared.";
    }
  }

  augment "/if:interfaces/if:interface/ip:ipv4" {
    description
      "augments for IPv4 based M-Plane transport";
    leaf m-plane-marking {
      type inet:dscp;
      default "18";
      description
        "18 represents AF21 or 'immediate traffic'";
    }
  }

  augment "/if:interfaces/if:interface/ip:ipv6" {
    description
      "augments for IPv6 based M-Plane transport";
    leaf m-plane-marking {
      type inet:dscp;
      default "18";
      description
        "18 represents AF21 or 'immediate traffic'";
    }
  }

  augment "/if:interfaces/if:interface" {
    when "if:type = 'ianaift:ethernetCsmacd'" {
      description
        "Applies to WG4 Ethernet interfaces for alias MAC based CU-Plane";
    }
    if-feature "ALIASMAC-BASED-CU-PLANE";
    description
      "Augment the interface model with parameters for
       base Ethernet interface";
    leaf-list alias-macs {
      type yang:mac-address;
      description
        "Augments inte

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rfaces with range of alias MAC addresses.";
    }
  }

  augment "/if:interfaces/if:interface" {
    when "(if:type = 'ianaift:ethernetCsmacd') or\n(if:type = 'ianaift:l2vlan')" {
      description
        "Applies to ethernetCsmacd and l2vlan interfaces";
    }
    description
      "Augment the interface model with parameters for all
       both ethernetCsmacd and l2vlan interfaces.";
    leaf mac-address {
      type yang:mac-address;
      description
        "The MAC address of the interface.";
    }

    container port-reference {
      description
        "a port reference used by other O-RAN modules";
      leaf port-name {
        type leafref {
          path "/hw:hardware/hw:component/hw:name";
        }
        must "derived-from-or-self(deref(current())/../hw:class, 'ianahw:port')";
        description
          "O-RAN interfaces use a reference to a physical port component.

           In this case, the component name referenced must be of class type
           port, i.e., when /hw:hardware/hw:c

[INF]: LN: Session 1: sending message:

#950


[INF]: LN: Session 1: sending message:
omponent/hw:class is derived from
           ianahw:port";
      }

      leaf port-number {
        type uint8;
        description
          "A number allocated by the server which identifies a port.
           Port number value is 0 to N-1 where N is number of ports
           in the device.

           This value is fixed for the lifetime of the equipment, i.e., cannot be
           changed during equipment reboots.";
      }
    }
  }

  augment "/if:interfaces/if:interface/ip:ipv4" {
    if-feature "UDPIP-BASED-CU-PLANE";
    description
      "augments for IPv4 based CUS transport";
    uses dscp-marking;
  }

  augment "/if:interfaces/if:interface/ip:ipv6" {
    if-feature "UDPIP-BASED-CU-PLANE";
    description
      "augments for IPv6 based CUS transport";
    uses dscp-marking;
  }

  rpc reset-interface-counters {
    description
      "Management plane triggered restart of the interface counters.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="54"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>iana-if-type</identifier><version>2017-01-19</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "iana-if-type" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="54"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module iana-if-type {
  namespace "urn:ietf:params:xml:ns:yang:iana-if-type";
  prefix ianaift;

  import ietf-interfaces {
    prefix if;
  }

  organization
    "IANA";
  contact
    "        Internet Assigned Numbers Authority
     Postal: ICANN
             12025 Waterfront Drive, Suite 300
             Los Angeles, CA 90094-2536
             United States
     Tel:    +1 310 301 5800
     &lt;mailto:iana&amp;iana.org&gt;";
  description
    "This YANG module defines YANG identities for IANA-registered
     interface types.
     This YANG module is maintained by IANA and reflects the
     'ifType definitions' registry.
     The latest revision of this YANG module can be obtained from
     the IANA web site.
     Requests for new values should be made to IANA via
     email (iana&amp;iana.org).
     Copyright (c) 2014 IETF Trust and the persons identified as
     auth

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).
     The initial version of this YANG module is part of RFC 7224;
     see the RFC itself for full legal notices.";
  reference
    "IANA 'ifType definitions' registry.
     &lt;http://www.iana.org/assignments/smi-numbers&gt;";

  revision 2017-01-19 {
    description
      "Registered ifType 289.";
  }
  revision 2016-11-23 {
    description
      "Registered ifTypes 283-288.";
  }
  revision 2016-06-09 {
    description
      "Registered ifType 282.";
  }
  revision 2016-05-03 {
    description
      "Registered ifType 281.";
  }
  revision 2015-06-12 {
    description
      "Corrected formatting issue.";
  }
  revision 2014-09-24 {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  description
      "Registered ifType 280.";
  }
  revision 2014-09-19 {
    description
      "Registered ifType 279.";
  }
  revision 2014-07-03 {
    description
      "Registered ifTypes 277-278.";
  }
  revision 2014-05-19 {
    description
      "Updated the contact address.";
  }
  revision 2014-05-08 {
    description
      "Initial revision.";
    reference
      "RFC 7224: IANA Interface Type YANG Module";
  }

  identity iana-interface-type {
    base if:interface-type;
    description
      "This identity is used as a base for all interface types
       defined in the 'ifType definitions' registry.";
  }

  identity other {
    base iana-interface-type;
  }

  identity regular1822 {
    base iana-interface-type;
  }

  identity hdh1822 {
    base iana-interface-type;
  }

  identity ddnX25 {
    base iana-interface-type;
  }

  identity rfc877x25 {
    base iana-interface-type;
    reference
      "RFC 1382 - SNMP MIB Extension for the X.25 Packet Layer";
  }

  identity ethernetCsmacd {
    base

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 iana-interface-type;
    description
      "For all Ethernet-like interfaces, regardless of speed,
       as per RFC 3635.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity iso88023Csmacd {
    base iana-interface-type;
    status deprecated;
    description
      "Deprecated via RFC 3635.
       Use ethernetCsmacd(6) instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity iso88024TokenBus {
    base iana-interface-type;
  }

  identity iso88025TokenRing {
    base iana-interface-type;
  }

  identity iso88026Man {
    base iana-interface-type;
  }

  identity starLan {
    base iana-interface-type;
    status deprecated;
    description
      "Deprecated via RFC 3635.
       Use ethernetCsmacd(6) instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:


  identity proteon10Mbit {
    base iana-interface-type;
  }

  identity proteon80Mbit {
    base iana-interface-type;
  }

  identity hyperchannel {
    base iana-interface-type;
  }

  identity fddi {
    base iana-interface-type;
    reference
      "RFC 1512 - FDDI Management Information Base";
  }

  identity lapb {
    base iana-interface-type;
    reference
      "RFC 1381 - SNMP MIB Extension for X.25 LAPB";
  }

  identity sdlc {
    base iana-interface-type;
  }

  identity ds1 {
    base iana-interface-type;
    description
      "DS1-MIB.";
    reference
      "RFC 4805 - Definitions of Managed Objects for the
                  DS1, J1, E1, DS2, and E2 Interface Types";
  }

  identity e1 {
    base iana-interface-type;
    status obsolete;
    description
      "Obsolete; see DS1-MIB.";
    reference
      "RFC 4805 - Definitions of Managed Objects for the
                  DS1, J1, E1, DS2, and E2 Interface Types";
  }

  identity basicISDN {
    base iana-interface-type;
    description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "No longer used.  See also RFC 2127.";
  }

  identity primaryISDN {
    base iana-interface-type;
    description
      "No longer used.  See also RFC 2127.";
  }

  identity propPointToPointSerial {
    base iana-interface-type;
    description
      "Proprietary serial.";
  }

  identity ppp {
    base iana-interface-type;
  }

  identity softwareLoopback {
    base iana-interface-type;
  }

  identity eon {
    base iana-interface-type;
    description
      "CLNP over IP.";
  }

  identity ethernet3Mbit {
    base iana-interface-type;
  }

  identity nsip {
    base iana-interface-type;
    description
      "XNS over IP.";
  }

  identity slip {
    base iana-interface-type;
    description
      "Generic SLIP.";
  }

  identity ultra {
    base iana-interface-type;
    description
      "Ultra Technologies.";
  }

  identity ds3 {
    base iana-interface-type;
    description
      "DS3-MIB.";
    reference
      "RFC 3896 - Definitions of Managed Objects for the
                  DS3/E3 Interface Typ

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e";
  }

  identity sip {
    base iana-interface-type;
    description
      "SMDS, coffee.";
    reference
      "RFC 1694 - Definitions of Managed Objects for SMDS
                  Interfaces using SMIv2";
  }

  identity frameRelay {
    base iana-interface-type;
    description
      "DTE only.";
    reference
      "RFC 2115 - Management Information Base for Frame Relay
                  DTEs Using SMIv2";
  }

  identity rs232 {
    base iana-interface-type;
    reference
      "RFC 1659 - Definitions of Managed Objects for RS-232-like
                  Hardware Devices using SMIv2";
  }

  identity para {
    base iana-interface-type;
    description
      "Parallel-port.";
    reference
      "RFC 1660 - Definitions of Managed Objects for
                  Parallel-printer-like Hardware Devices using
                  SMIv2";
  }

  identity arcnet {
    base iana-interface-type;
    description
      "ARCnet.";
  }

  identity arcnetPlus {
    base iana-interface-type;
    description
      "ARCnet

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 Plus.";
  }

  identity atm {
    base iana-interface-type;
    description
      "ATM cells.";
  }

  identity miox25 {
    base iana-interface-type;
    reference
      "RFC 1461 - SNMP MIB extension for Multiprotocol
                  Interconnect over X.25";
  }

  identity sonet {
    base iana-interface-type;
    description
      "SONET or SDH.";
  }

  identity x25ple {
    base iana-interface-type;
    reference
      "RFC 2127 - ISDN Management Information Base using SMIv2";
  }

  identity iso88022llc {
    base iana-interface-type;
  }

  identity localTalk {
    base iana-interface-type;
  }

  identity smdsDxi {
    base iana-interface-type;
  }

  identity frameRelayService {
    base iana-interface-type;
    description
      "FRNETSERV-MIB.";
    reference
      "RFC 2954 - Definitions of Managed Objects for Frame
                  Relay Service";
  }

  identity v35 {
    base iana-interface-type;
  }

  identity hssi {
    base iana-interface-type;
  }

  identity hippi {
    base iana-int

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
erface-type;
  }

  identity modem {
    base iana-interface-type;
    description
      "Generic modem.";
  }

  identity aal5 {
    base iana-interface-type;
    description
      "AAL5 over ATM.";
  }

  identity sonetPath {
    base iana-interface-type;
  }

  identity sonetVT {
    base iana-interface-type;
  }

  identity smdsIcip {
    base iana-interface-type;
    description
      "SMDS InterCarrier Interface.";
  }

  identity propVirtual {
    base iana-interface-type;
    description
      "Proprietary virtual/internal.";
    reference
      "RFC 2863 - The Interfaces Group MIB";
  }

  identity propMultiplexor {
    base iana-interface-type;
    description
      "Proprietary multiplexing.";
    reference
      "RFC 2863 - The Interfaces Group MIB";
  }

  identity ieee80212 {
    base iana-interface-type;
    description
      "100BaseVG.";
  }

  identity fibreChannel {
    base iana-interface-type;
    description
      "Fibre Channel.";
  }

  identity hippiInterface {
    base iana-interface

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
-type;
    description
      "HIPPI interfaces.";
  }

  identity frameRelayInterconnect {
    base iana-interface-type;
    status obsolete;
    description
      "Obsolete; use either
       frameRelay(32) or frameRelayService(44).";
  }

  identity aflane8023 {
    base iana-interface-type;
    description
      "ATM Emulated LAN for 802.3.";
  }

  identity aflane8025 {
    base iana-interface-type;
    description
      "ATM Emulated LAN for 802.5.";
  }

  identity cctEmul {
    base iana-interface-type;
    description
      "ATM Emulated circuit.";
  }

  identity fastEther {
    base iana-interface-type;
    status deprecated;
    description
      "Obsoleted via RFC 3635.
       ethernetCsmacd(6) should be used instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity isdn {
    base iana-interface-type;
    description
      "ISDN and X.25.";
    reference
      "RFC 1356 - Multiprotocol Interconnect on X.25 a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nd ISDN
                  in the Packet Mode";
  }

  identity v11 {
    base iana-interface-type;
    description
      "CCITT V.11/X.21.";
  }

  identity v36 {
    base iana-interface-type;
    description
      "CCITT V.36.";
  }

  identity g703at64k {
    base iana-interface-type;
    description
      "CCITT G703 at 64Kbps.";
  }

  identity g703at2mb {
    base iana-interface-type;
    status obsolete;
    description
      "Obsolete; see DS1-MIB.";
  }

  identity qllc {
    base iana-interface-type;
    description
      "SNA QLLC.";
  }

  identity fastEtherFX {
    base iana-interface-type;
    status deprecated;
    description
      "Obsoleted via RFC 3635.
       ethernetCsmacd(6) should be used instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity channel {
    base iana-interface-type;
    description
      "Channel.";
  }

  identity ieee80211 {
    base iana-interface-type;
    description
      "R

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
adio spread spectrum.";
  }

  identity ibm370parChan {
    base iana-interface-type;
    description
      "IBM System 360/370 OEMI Channel.";
  }

  identity escon {
    base iana-interface-type;
    description
      "IBM Enterprise Systems Connection.";
  }

  identity dlsw {
    base iana-interface-type;
    description
      "Data Link Switching.";
  }

  identity isdns {
    base iana-interface-type;
    description
      "ISDN S/T interface.";
  }

  identity isdnu {
    base iana-interface-type;
    description
      "ISDN U interface.";
  }

  identity lapd {
    base iana-interface-type;
    description
      "Link Access Protocol D.";
  }

  identity ipSwitch {
    base iana-interface-type;
    description
      "IP Switching Objects.";
  }

  identity rsrb {
    base iana-interface-type;
    description
      "Remote Source Route Bridging.";
  }

  identity atmLogical {
    base iana-interface-type;
    description
      "ATM Logical Port.";
    reference
      "RFC 3606 - Definitions of Suppleme

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ntal Managed Objects
                  for ATM Interface";
  }

  identity ds0 {
    base iana-interface-type;
    description
      "Digital Signal Level 0.";
    reference
      "RFC 2494 - Definitions of Managed Objects for the DS0
                  and DS0 Bundle Interface Type";
  }

  identity ds0Bundle {
    base iana-interface-type;
    description
      "Group of ds0s on the same ds1.";
    reference
      "RFC 2494 - Definitions of Managed Objects for the DS0
                  and DS0 Bundle Interface Type";
  }

  identity bsc {
    base iana-interface-type;
    description
      "Bisynchronous Protocol.";
  }

  identity async {
    base iana-interface-type;
    description
      "Asynchronous Protocol.";
  }

  identity cnr {
    base iana-interface-type;
    description
      "Combat Net Radio.";
  }

  identity iso88025Dtr {
    base iana-interface-type;
    description
      "ISO 802.5r DTR.";
  }

  identity eplrs {
    base iana-interface-type;
    description
      "Ext Pos Loc Report Sys."

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
  }

  identity arap {
    base iana-interface-type;
    description
      "Appletalk Remote Access Protocol.";
  }

  identity propCnls {
    base iana-interface-type;
    description
      "Proprietary Connectionless Protocol.";
  }

  identity hostPad {
    base iana-interface-type;
    description
      "CCITT-ITU X.29 PAD Protocol.";
  }

  identity termPad {
    base iana-interface-type;
    description
      "CCITT-ITU X.3 PAD Facility.";
  }

  identity frameRelayMPI {
    base iana-interface-type;
    description
      "Multiproto Interconnect over FR.";
  }

  identity x213 {
    base iana-interface-type;
    description
      "CCITT-ITU X213.";
  }

  identity adsl {
    base iana-interface-type;
    description
      "Asymmetric Digital Subscriber Loop.";
  }

  identity radsl {
    base iana-interface-type;
    description
      "Rate-Adapt. Digital Subscriber Loop.";
  }

  identity sdsl {
    base iana-interface-type;
    description
      "Symmetric Digital Subscriber Loop.";
  }

  identity

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 vdsl {
    base iana-interface-type;
    description
      "Very H-Speed Digital Subscrib. Loop.";
  }

  identity iso88025CRFPInt {
    base iana-interface-type;
    description
      "ISO 802.5 CRFP.";
  }

  identity myrinet {
    base iana-interface-type;
    description
      "Myricom Myrinet.";
  }

  identity voiceEM {
    base iana-interface-type;
    description
      "Voice recEive and transMit.";
  }

  identity voiceFXO {
    base iana-interface-type;
    description
      "Voice Foreign Exchange Office.";
  }

  identity voiceFXS {
    base iana-interface-type;
    description
      "Voice Foreign Exchange Station.";
  }

  identity voiceEncap {
    base iana-interface-type;
    description
      "Voice encapsulation.";
  }

  identity voiceOverIp {
    base iana-interface-type;
    description
      "Voice over IP encapsulation.";
  }

  identity atmDxi {
    base iana-interface-type;
    description
      "ATM DXI.";
  }

  identity atmFuni {
    base iana-interface-type;
    description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "ATM FUNI.";
  }

  identity atmIma {
    base iana-interface-type;
    description
      "ATM IMA.";
  }

  identity pppMultilinkBundle {
    base iana-interface-type;
    description
      "PPP Multilink Bundle.";
  }

  identity ipOverCdlc {
    base iana-interface-type;
    description
      "IBM ipOverCdlc.";
  }

  identity ipOverClaw {
    base iana-interface-type;
    description
      "IBM Common Link Access to Workstn.";
  }

  identity stackToStack {
    base iana-interface-type;
    description
      "IBM stackToStack.";
  }

  identity virtualIpAddress {
    base iana-interface-type;
    description
      "IBM VIPA.";
  }

  identity mpc {
    base iana-interface-type;
    description
      "IBM multi-protocol channel support.";
  }

  identity ipOverAtm {
    base iana-interface-type;
    description
      "IBM ipOverAtm.";
    reference
      "RFC 2320 - Definitions of Managed Objects for Classical IP
                  and ARP Over ATM Using SMIv2 (IPOA-MIB)";
  }

  identity iso88025Fiber {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   base iana-interface-type;
    description
      "ISO 802.5j Fiber Token Ring.";
  }

  identity tdlc {
    base iana-interface-type;
    description
      "IBM twinaxial data link control.";
  }

  identity gigabitEthernet {
    base iana-interface-type;
    status deprecated;
    description
      "Obsoleted via RFC 3635.
       ethernetCsmacd(6) should be used instead.";
    reference
      "RFC 3635 - Definitions of Managed Objects for the
                  Ethernet-like Interface Types";
  }

  identity hdlc {
    base iana-interface-type;
    description
      "HDLC.";
  }

  identity lapf {
    base iana-interface-type;
    description
      "LAP F.";
  }

  identity v37 {
    base iana-interface-type;
    description
      "V.37.";
  }

  identity x25mlp {
    base iana-interface-type;
    description
      "Multi-Link Protocol.";
  }

  identity x25huntGroup {
    base iana-interface-type;
    description
      "X25 Hunt Group.";
  }

  identity transpHdlc {
    base iana-interface-type;
    descri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ption
      "Transp HDLC.";
  }

  identity interleave {
    base iana-interface-type;
    description
      "Interleave channel.";
  }

  identity fast {
    base iana-interface-type;
    description
      "Fast channel.";
  }

  identity ip {
    base iana-interface-type;
    description
      "IP (for APPN HPR in IP networks).";
  }

  identity docsCableMaclayer {
    base iana-interface-type;
    description
      "CATV Mac Layer.";
  }

  identity docsCableDownstream {
    base iana-interface-type;
    description
      "CATV Downstream interface.";
  }

  identity docsCableUpstream {
    base iana-interface-type;
    description
      "CATV Upstream interface.";
  }

  identity a12MppSwitch {
    base iana-interface-type;
    description
      "Avalon Parallel Processor.";
  }

  identity tunnel {
    base iana-interface-type;
    description
      "Encapsulation interface.";
  }

  identity coffee {
    base iana-interface-type;
    description
      "Coffee pot.";
    reference
      "RFC 2325 - Coffe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e MIB";
  }

  identity ces {
    base iana-interface-type;
    description
      "Circuit Emulation Service.";
  }

  identity atmSubInterface {
    base iana-interface-type;
    description
      "ATM Sub Interface.";
  }

  identity l2vlan {
    base iana-interface-type;
    description
      "Layer 2 Virtual LAN using 802.1Q.";
  }

  identity l3ipvlan {
    base iana-interface-type;
    description
      "Layer 3 Virtual LAN using IP.";
  }

  identity l3ipxvlan {
    base iana-interface-type;
    description
      "Layer 3 Virtual LAN using IPX.";
  }

  identity digitalPowerline {
    base iana-interface-type;
    description
      "IP over Power Lines.";
  }

  identity mediaMailOverIp {
    base iana-interface-type;
    description
      "Multimedia Mail over IP.";
  }

  identity dtm {
    base iana-interface-type;
    description
      "Dynamic synchronous Transfer Mode.";
  }

  identity dcn {
    base iana-interface-type;
    description
      "Data Communications Network.";
  }

  identity ipFor

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ward {
    base iana-interface-type;
    description
      "IP Forwarding Interface.";
  }

  identity msdsl {
    base iana-interface-type;
    description
      "Multi-rate Symmetric DSL.";
  }

  identity ieee1394 {
    base iana-interface-type;
    description
      "IEEE1394 High Performance Serial Bus.";
  }

  identity if-gsn {
    base iana-interface-type;
    description
      "HIPPI-6400.";
  }

  identity dvbRccMacLayer {
    base iana-interface-type;
    description
      "DVB-RCC MAC Layer.";
  }

  identity dvbRccDownstream {
    base iana-interface-type;
    description
      "DVB-RCC Downstream Channel.";
  }

  identity dvbRccUpstream {
    base iana-interface-type;
    description
      "DVB-RCC Upstream Channel.";
  }

  identity atmVirtual {
    base iana-interface-type;
    description
      "ATM Virtual Interface.";
  }

  identity mplsTunnel {
    base iana-interface-type;
    description
      "MPLS Tunnel Virtual Interface.";
  }

  identity srp {
    base iana-interface-type;
    des

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
cription
      "Spatial Reuse Protocol.";
  }

  identity voiceOverAtm {
    base iana-interface-type;
    description
      "Voice over ATM.";
  }

  identity voiceOverFrameRelay {
    base iana-interface-type;
    description
      "Voice Over Frame Relay.";
  }

  identity idsl {
    base iana-interface-type;
    description
      "Digital Subscriber Loop over ISDN.";
  }

  identity compositeLink {
    base iana-interface-type;
    description
      "Avici Composite Link Interface.";
  }

  identity ss7SigLink {
    base iana-interface-type;
    description
      "SS7 Signaling Link.";
  }

  identity propWirelessP2P {
    base iana-interface-type;
    description
      "Prop. P2P wireless interface.";
  }

  identity frForward {
    base iana-interface-type;
    description
      "Frame Forward Interface.";
  }

  identity rfc1483 {
    base iana-interface-type;
    description
      "Multiprotocol over ATM AAL5.";
    reference
      "RFC 1483 - Multiprotocol Encapsulation over ATM
                  Ada

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ptation Layer 5";
  }

  identity usb {
    base iana-interface-type;
    description
      "USB Interface.";
  }

  identity ieee8023adLag {
    base iana-interface-type;
    description
      "IEEE 802.3ad Link Aggregate.";
  }

  identity bgppolicyaccounting {
    base iana-interface-type;
    description
      "BGP Policy Accounting.";
  }

  identity frf16MfrBundle {
    base iana-interface-type;
    description
      "FRF.16 Multilink Frame Relay.";
  }

  identity h323Gatekeeper {
    base iana-interface-type;
    description
      "H323 Gatekeeper.";
  }

  identity h323Proxy {
    base iana-interface-type;
    description
      "H323 Voice and Video Proxy.";
  }

  identity mpls {
    base iana-interface-type;
    description
      "MPLS.";
  }

  identity mfSigLink {
    base iana-interface-type;
    description
      "Multi-frequency signaling link.";
  }

  identity hdsl2 {
    base iana-interface-type;
    description
      "High Bit-Rate DSL - 2nd generation.";
  }

  identity shdsl {
    base i

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ana-interface-type;
    description
      "Multirate HDSL2.";
  }

  identity ds1FDL {
    base iana-interface-type;
    description
      "Facility Data Link (4Kbps) on a DS1.";
  }

  identity pos {
    base iana-interface-type;
    description
      "Packet over SONET/SDH Interface.";
  }

  identity dvbAsiIn {
    base iana-interface-type;
    description
      "DVB-ASI Input.";
  }

  identity dvbAsiOut {
    base iana-interface-type;
    description
      "DVB-ASI Output.";
  }

  identity plc {
    base iana-interface-type;
    description
      "Power Line Communications.";
  }

  identity nfas {
    base iana-interface-type;
    description
      "Non-Facility Associated Signaling.";
  }

  identity tr008 {
    base iana-interface-type;
    description
      "TR008.";
  }

  identity gr303RDT {
    base iana-interface-type;
    description
      "Remote Digital Terminal.";
  }

  identity gr303IDT {
    base iana-interface-type;
    description
      "Integrated Digital Terminal.";
  }

  identity is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
up {
    base iana-interface-type;
    description
      "ISUP.";
  }

  identity propDocsWirelessMaclayer {
    base iana-interface-type;
    description
      "Cisco proprietary Maclayer.";
  }

  identity propDocsWirelessDownstream {
    base iana-interface-type;
    description
      "Cisco proprietary Downstream.";
  }

  identity propDocsWirelessUpstream {
    base iana-interface-type;
    description
      "Cisco proprietary Upstream.";
  }

  identity hiperlan2 {
    base iana-interface-type;
    description
      "HIPERLAN Type 2 Radio Interface.";
  }

  identity propBWAp2Mp {
    base iana-interface-type;
    description
      "PropBroadbandWirelessAccesspt2Multipt (use of this value
       for IEEE 802.16 WMAN interfaces as per IEEE Std 802.16f
       is deprecated, and ieee80216WMAN(237) should be used
       instead).";
  }

  identity sonetOverheadChannel {
    base iana-interface-type;
    description
      "SONET Overhead Channel.";
  }

  identity digitalWrapperOverheadChannel {
    base ian

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a-interface-type;
    description
      "Digital Wrapper.";
  }

  identity aal2 {
    base iana-interface-type;
    description
      "ATM adaptation layer 2.";
  }

  identity radioMAC {
    base iana-interface-type;
    description
      "MAC layer over radio links.";
  }

  identity atmRadio {
    base iana-interface-type;
    description
      "ATM over radio links.";
  }

  identity imt {
    base iana-interface-type;
    description
      "Inter-Machine Trunks.";
  }

  identity mvl {
    base iana-interface-type;
    description
      "Multiple Virtual Lines DSL.";
  }

  identity reachDSL {
    base iana-interface-type;
    description
      "Long Reach DSL.";
  }

  identity frDlciEndPt {
    base iana-interface-type;
    description
      "Frame Relay DLCI End Point.";
  }

  identity atmVciEndPt {
    base iana-interface-type;
    description
      "ATM VCI End Point.";
  }

  identity opticalChannel {
    base iana-interface-type;
    description
      "Optical Channel.";
  }

  identity opticalT

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ransport {
    base iana-interface-type;
    description
      "Optical Transport.";
  }

  identity propAtm {
    base iana-interface-type;
    description
      "Proprietary ATM.";
  }

  identity voiceOverCable {
    base iana-interface-type;
    description
      "Voice Over Cable Interface.";
  }

  identity infiniband {
    base iana-interface-type;
    description
      "Infiniband.";
  }

  identity teLink {
    base iana-interface-type;
    description
      "TE Link.";
  }

  identity q2931 {
    base iana-interface-type;
    description
      "Q.2931.";
  }

  identity virtualTg {
    base iana-interface-type;
    description
      "Virtual Trunk Group.";
  }

  identity sipTg {
    base iana-interface-type;
    description
      "SIP Trunk Group.";
  }

  identity sipSig {
    base iana-interface-type;
    description
      "SIP Signaling.";
  }

  identity docsCableUpstreamChannel {
    base iana-interface-type;
    description
      "CATV Upstream Channel.";
  }

  identity econet {
    base ian

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a-interface-type;
    description
      "Acorn Econet.";
  }

  identity pon155 {
    base iana-interface-type;
    description
      "FSAN 155Mb Symetrical PON interface.";
  }

  identity pon622 {
    base iana-interface-type;
    description
      "FSAN 622Mb Symetrical PON interface.";
  }

  identity bridge {
    base iana-interface-type;
    description
      "Transparent bridge interface.";
  }

  identity linegroup {
    base iana-interface-type;
    description
      "Interface common to multiple lines.";
  }

  identity voiceEMFGD {
    base iana-interface-type;
    description
      "Voice E&amp;M Feature Group D.";
  }

  identity voiceFGDEANA {
    base iana-interface-type;
    description
      "Voice FGD Exchange Access North American.";
  }

  identity voiceDID {
    base iana-interface-type;
    description
      "Voice Direct Inward Dialing.";
  }

  identity mpegTransport {
    base iana-interface-type;
    description
      "MPEG transport interface.";
  }

  identity sixToFour {
    base

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
iana-interface-type;
    status deprecated;
    description
      "6to4 interface (DEPRECATED).";
    reference
      "RFC 4087 - IP Tunnel MIB";
  }

  identity gtp {
    base iana-interface-type;
    description
      "GTP (GPRS Tunneling Protocol).";
  }

  identity pdnEtherLoop1 {
    base iana-interface-type;
    description
      "Paradyne EtherLoop 1.";
  }

  identity pdnEtherLoop2 {
    base iana-interface-type;
    description
      "Paradyne EtherLoop 2.";
  }

  identity opticalChannelGroup {
    base iana-interface-type;
    description
      "Optical Channel Group.";
  }

  identity homepna {
    base iana-interface-type;
    description
      "HomePNA ITU-T G.989.";
  }

  identity gfp {
    base iana-interface-type;
    description
      "Generic Framing Procedure (GFP).";
  }

  identity ciscoISLvlan {
    base iana-interface-type;
    description
      "Layer 2 Virtual LAN using Cisco ISL.";
  }

  identity actelisMetaLOOP {
    base iana-interface-type;
    description
      "Acteleis propr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ietary MetaLOOP High Speed Link.";
  }

  identity fcipLink {
    base iana-interface-type;
    description
      "FCIP Link.";
  }

  identity rpr {
    base iana-interface-type;
    description
      "Resilient Packet Ring Interface Type.";
  }

  identity qam {
    base iana-interface-type;
    description
      "RF Qam Interface.";
  }

  identity lmp {
    base iana-interface-type;
    description
      "Link Management Protocol.";
    reference
      "RFC 4327 - Link Management Protocol (LMP) Management
                  Information Base (MIB)";
  }

  identity cblVectaStar {
    base iana-interface-type;
    description
      "Cambridge Broadband Networks Limited VectaStar.";
  }

  identity docsCableMCmtsDownstream {
    base iana-interface-type;
    description
      "CATV Modular CMTS Downstream Interface.";
  }

  identity adsl2 {
    base iana-interface-type;
    status deprecated;
    description
      "Asymmetric Digital Subscriber Loop Version 2
       (DEPRECATED/OBSOLETED - please use adsl2pl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
us(238)
       instead).";
    reference
      "RFC 4706 - Definitions of Managed Objects for Asymmetric
                  Digital Subscriber Line 2 (ADSL2)";
  }

  identity macSecControlledIF {
    base iana-interface-type;
    description
      "MACSecControlled.";
  }

  identity macSecUncontrolledIF {
    base iana-interface-type;
    description
      "MACSecUncontrolled.";
  }

  identity aviciOpticalEther {
    base iana-interface-type;
    description
      "Avici Optical Ethernet Aggregate.";
  }

  identity atmbond {
    base iana-interface-type;
    description
      "atmbond.";
  }

  identity voiceFGDOS {
    base iana-interface-type;
    description
      "Voice FGD Operator Services.";
  }

  identity mocaVersion1 {
    base iana-interface-type;
    description
      "MultiMedia over Coax Alliance (MoCA) Interface
       as documented in information provided privately to IANA.";
  }

  identity ieee80216WMAN {
    base iana-interface-type;
    description
      "IEEE 802.16 WMAN interface.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 }

  identity adsl2plus {
    base iana-interface-type;
    description
      "Asymmetric Digital Subscriber Loop Version 2 -
       Version 2 Plus and all variants.";
  }

  identity dvbRcsMacLayer {
    base iana-interface-type;
    description
      "DVB-RCS MAC Layer.";
    reference
      "RFC 5728 - The SatLabs Group DVB-RCS MIB";
  }

  identity dvbTdm {
    base iana-interface-type;
    description
      "DVB Satellite TDM.";
    reference
      "RFC 5728 - The SatLabs Group DVB-RCS MIB";
  }

  identity dvbRcsTdma {
    base iana-interface-type;
    description
      "DVB-RCS TDMA.";
    reference
      "RFC 5728 - The SatLabs Group DVB-RCS MIB";
  }

  identity x86Laps {
    base iana-interface-type;
    description
      "LAPS based on ITU-T X.86/Y.1323.";
  }

  identity wwanPP {
    base iana-interface-type;
    description
      "3GPP WWAN.";
  }

  identity wwanPP2 {
    base iana-interface-type;
    description
      "3GPP2 WWAN.";
  }

  identity voiceEBS {
    base iana-interface-type;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
description
      "Voice P-phone EBS physical interface.";
  }

  identity ifPwType {
    base iana-interface-type;
    description
      "Pseudowire interface type.";
    reference
      "RFC 5601 - Pseudowire (PW) Management Information Base (MIB)";
  }

  identity ilan {
    base iana-interface-type;
    description
      "Internal LAN on a bridge per IEEE 802.1ap.";
  }

  identity pip {
    base iana-interface-type;
    description
      "Provider Instance Port on a bridge per IEEE 802.1ah PBB.";
  }

  identity aluELP {
    base iana-interface-type;
    description
      "Alcatel-Lucent Ethernet Link Protection.";
  }

  identity gpon {
    base iana-interface-type;
    description
      "Gigabit-capable passive optical networks (G-PON) as per
       ITU-T G.948.";
  }

  identity vdsl2 {
    base iana-interface-type;
    description
      "Very high speed digital subscriber line Version 2
       (as per ITU-T Recommendation G.993.2).";
    reference
      "RFC 5650 - Definitions of Managed Objects for

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Very High
                  Speed Digital Subscriber Line 2 (VDSL2)";
  }

  identity capwapDot11Profile {
    base iana-interface-type;
    description
      "WLAN Profile Interface.";
    reference
      "RFC 5834 - Control and Provisioning of Wireless Access
                  Points (CAPWAP) Protocol Binding MIB for
                  IEEE 802.11";
  }

  identity capwapDot11Bss {
    base iana-interface-type;
    description
      "WLAN BSS Interface.";
    reference
      "RFC 5834 - Control and Provisioning of Wireless Access
                  Points (CAPWAP) Protocol Binding MIB for
                  IEEE 802.11";
  }

  identity capwapWtpVirtualRadio {
    base iana-interface-type;
    description
      "WTP Virtual Radio Interface.";
    reference
      "RFC 5833 - Control and Provisioning of Wireless Access
                  Points (CAPWAP) Protocol Base MIB";
  }

  identity bits {
    base iana-interface-type;
    description
      "bitsport.";
  }

  identity docsCableUpstreamRfPort {
    base ian

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
a-interface-type;
    description
      "DOCSIS CATV Upstream RF Port.";
  }

  identity cableDownstreamRfPort {
    base iana-interface-type;
    description
      "CATV downstream RF Port.";
  }

  identity vmwareVirtualNic {
    base iana-interface-type;
    description
      "VMware Virtual Network Interface.";
  }

  identity ieee802154 {
    base iana-interface-type;
    description
      "IEEE 802.15.4 WPAN interface.";
    reference
      "IEEE 802.15.4-2006";
  }

  identity otnOdu {
    base iana-interface-type;
    description
      "OTN Optical Data Unit.";
  }

  identity otnOtu {
    base iana-interface-type;
    description
      "OTN Optical channel Transport Unit.";
  }

  identity ifVfiType {
    base iana-interface-type;
    description
      "VPLS Forwarding Instance Interface Type.";
  }

  identity g9981 {
    base iana-interface-type;
    description
      "G.998.1 bonded interface.";
  }

  identity g9982 {
    base iana-interface-type;
    description
      "G.998.2 bonded interface."

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
  }

  identity g9983 {
    base iana-interface-type;
    description
      "G.998.3 bonded interface.";
  }

  identity aluEpon {
    base iana-interface-type;
    description
      "Ethernet Passive Optical Networks (E-PON).";
  }

  identity aluEponOnu {
    base iana-interface-type;
    description
      "EPON Optical Network Unit.";
  }

  identity aluEponPhysicalUni {
    base iana-interface-type;
    description
      "EPON physical User to Network interface.";
  }

  identity aluEponLogicalLink {
    base iana-interface-type;
    description
      "The emulation of a point-to-point link over the EPON
       layer.";
  }

  identity aluGponOnu {
    base iana-interface-type;
    description
      "GPON Optical Network Unit.";
    reference
      "ITU-T G.984.2";
  }

  identity aluGponPhysicalUni {
    base iana-interface-type;
    description
      "GPON physical User to Network interface.";
    reference
      "ITU-T G.984.2";
  }

  identity vmwareNicTeam {
    base iana-interface-type;
    descri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ption
      "VMware NIC Team.";
  }

  identity docsOfdmDownstream {
    base iana-interface-type;
    description
      "CATV Downstream OFDM interface.";
  }

  identity docsOfdmaUpstream {
    base iana-interface-type;
    description
      "CATV Upstream OFDMA interface.";
  }

  identity gfast {
    base iana-interface-type;
    description
      "G.fast port.";
    reference
      "ITU-T G.9701";
  }

  identity sdci {
    base iana-interface-type;
    description
      "SDCI (IO-Link).";
    reference
      "IEC 61131-9 Edition 1.0 2013-09";
  }

  identity xboxWireless {
    base iana-interface-type;
    description
      "Xbox wireless.";
  }

  identity fastdsl {
    base iana-interface-type;
    description
      "FastDSL.";
    reference
      "BBF TR-355";
  }

  identity docsCableScte55d1FwdOob {
    base iana-interface-type;
    description
      "Cable SCTE 55-1 OOB Forward Channel.";
  }

  identity docsCableScte55d1RetOob {
    base iana-interface-type;
    description
      "Cable SCTE 55-1

[INF]: LN: Session 1: sending message:

#656


[INF]: LN: Session 1: sending message:
 OOB Return Channel.";
  }

  identity docsCableScte55d2DsOob {
    base iana-interface-type;
    description
      "Cable SCTE 55-2 OOB Downstream Channel.";
  }

  identity docsCableScte55d2UsOob {
    base iana-interface-type;
    description
      "Cable SCTE 55-2 OOB Upstream Channel.";
  }

  identity docsCableNdf {
    base iana-interface-type;
    description
      "Cable Narrowband Digital Forward.";
  }

  identity docsCableNdr {
    base iana-interface-type;
    description
      "Cable Narrowband Digital Return.";
  }

  identity ptm {
    base iana-interface-type;
    description
      "Packet Transfer Mode.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="55"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-ip</identifier><version>2018-02-22</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-ip" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="55"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-ip {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-ip";
  prefix ip;

  import ietf-interfaces {
    prefix if;
  }

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NETMOD (Network Modeling) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;
     WG List:  &lt;mailto:netmod@ietf.org&gt;
     Editor:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;";
  description
    "This module contains a collection of YANG definitions for
     managing IP implementations.
     Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the licens

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).
     This version of this YANG module is part of RFC 8344; see
     the RFC itself for full legal notices.";

  revision 2018-02-22 {
    description
      "Updated to support NMDA.";
    reference
      "RFC 8344: A YANG Data Model for IP Management";
  }
  revision 2014-06-16 {
    description
      "Initial revision.";
    reference
      "RFC 7277: A YANG Data Model for IP Management";
  }

  feature ipv4-non-contiguous-netmasks {
    description
      "Indicates support for configuring non-contiguous
       subnet masks.";
  }

  feature ipv6-privacy-autoconf {
    description
      "Indicates support for privacy extensions for stateless address
       autoconfiguration in IPv6.";
    reference
      "RFC 4941: Privacy Extensions for Stateless Address
                 Autoconfiguration in IPv6";
  }

  typedef ip-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
address-origin {
    type enumeration {
      enum "other" {
        description
          "None of the following.";
      }
      enum "static" {
        description
          "Indicates that the address has been statically
           configured -- for example, using the Network Configuration
           Protocol (NETCONF) or a command line interface.";
      }
      enum "dhcp" {
        description
          "Indicates an address that has been assigned to this
           system by a DHCP server.";
      }
      enum "link-layer" {
        description
          "Indicates an address created by IPv6 stateless
           autoconfiguration that embeds a link-layer address in its
           interface identifier.";
      }
      enum "random" {
        description
          "Indicates an address chosen by the system at
           random, e.g., an IPv4 address within 169.254/16, a
           temporary address as described in RFC 4941, or a
           semantically opaque address as described in RFC 7217.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
reference
          "RFC 4941: Privacy Extensions for Stateless Address
                     Autoconfiguration in IPv6
           RFC 7217: A Method for Generating Semantically Opaque
                     Interface Identifiers with IPv6 Stateless
                     Address Autoconfiguration (SLAAC)";
      }
    }
    description
      "The origin of an address.";
  }

  typedef neighbor-origin {
    type enumeration {
      enum "other" {
        description
          "None of the following.";
      }
      enum "static" {
        description
          "Indicates that the mapping has been statically
           configured -- for example, using NETCONF or a command line
           interface.";
      }
      enum "dynamic" {
        description
          "Indicates that the mapping has been dynamically resolved
           using, for example, IPv4 ARP or the IPv6 Neighbor
           Discovery protocol.";
      }
    }
    description
      "The origin of a neighbor entry.";
  }

  augment "/if:interfaces/if:in

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
terface" {
    description
      "IP parameters on interfaces.
       If an interface is not capable of running IP, the server
       must not allow the client to configure these parameters.";
    container ipv4 {
      presence "Enables IPv4 unless the 'enabled' leaf
       (which defaults to 'true') is set to 'false'";
      description
        "Parameters for the IPv4 address family.";
      leaf enabled {
        type boolean;
        default "true";
        description
          "Controls whether IPv4 is enabled or disabled on this
           interface.  When IPv4 is enabled, this interface is
           connected to an IPv4 stack, and the interface can send
           and receive IPv4 packets.";
      }

      leaf forwarding {
        type boolean;
        default "false";
        description
          "Controls IPv4 packet forwarding of datagrams received by,
           but not addressed to, this interface.  IPv4 routers
           forward datagrams.  IPv4 hosts do not (except those
           source-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
routed via the host).";
      }

      leaf mtu {
        type uint16 {
          range "68..max";
        }
        units "octets";
        description
          "The size, in octets, of the largest IPv4 packet that the
           interface will send and receive.
           The server may restrict the allowed values for this leaf,
           depending on the interface's type.
           If this leaf is not configured, the operationally used MTU
           depends on the interface's type.";
        reference
          "RFC 791: Internet Protocol";
      }

      list address {
        key "ip";
        description
          "The list of IPv4 addresses on the interface.";
        leaf ip {
          type inet:ipv4-address-no-zone;
          description
            "The IPv4 address on the interface.";
        }

        choice subnet {
          mandatory true;
          description
            "The subnet can be specified as a prefix length or,
             if the server supports non-contiguous netmasks, as


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
            a netmask.";
          leaf prefix-length {
            type uint8 {
              range "0..32";
            }
            description
              "The length of the subnet prefix.";
          }

          leaf netmask {
            if-feature "ipv4-non-contiguous-netmasks";
            type yang:dotted-quad;
            description
              "The subnet specified as a netmask.";
          }
        }

        leaf origin {
          type ip-address-origin;
          config false;
          description
            "The origin of this address.";
        }
      }

      list neighbor {
        key "ip";
        description
          "A list of mappings from IPv4 addresses to
           link-layer addresses.
           Entries in this list in the intended configuration are
           used as static entries in the ARP Cache.
           In the operational state, this list represents the ARP
           Cache.";
        reference
          "RFC 826: An Ethernet Address Resolution Protocol";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   leaf ip {
          type inet:ipv4-address-no-zone;
          description
            "The IPv4 address of the neighbor node.";
        }

        leaf link-layer-address {
          type yang:phys-address;
          mandatory true;
          description
            "The link-layer address of the neighbor node.";
        }

        leaf origin {
          type neighbor-origin;
          config false;
          description
            "The origin of this neighbor entry.";
        }
      }
    }

    container ipv6 {
      presence "Enables IPv6 unless the 'enabled' leaf
       (which defaults to 'true') is set to 'false'";
      description
        "Parameters for the IPv6 address family.";
      leaf enabled {
        type boolean;
        default "true";
        description
          "Controls whether IPv6 is enabled or disabled on this
           interface.  When IPv6 is enabled, this interface is
           connected to an IPv6 stack, and the interface can send
           and receive IPv6 packets.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    }

      leaf forwarding {
        type boolean;
        default "false";
        description
          "Controls IPv6 packet forwarding of datagrams received by,
           but not addressed to, this interface.  IPv6 routers
           forward datagrams.  IPv6 hosts do not (except those
           source-routed via the host).";
        reference
          "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
                     Section 6.2.1, IsRouter";
      }

      leaf mtu {
        type uint32 {
          range "1280..max";
        }
        units "octets";
        description
          "The size, in octets, of the largest IPv6 packet that the
           interface will send and receive.
           The server may restrict the allowed values for this leaf,
           depending on the interface's type.
           If this leaf is not configured, the operationally used MTU
           depends on the interface's type.";
        reference
          "RFC 8200: Internet Protocol, Version 6 (IPv6)


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          Specification
                     Section 5";
      }

      list address {
        key "ip";
        description
          "The list of IPv6 addresses on the interface.";
        leaf ip {
          type inet:ipv6-address-no-zone;
          description
            "The IPv6 address on the interface.";
        }

        leaf prefix-length {
          type uint8 {
            range "0..128";
          }
          mandatory true;
          description
            "The length of the subnet prefix.";
        }

        leaf origin {
          type ip-address-origin;
          config false;
          description
            "The origin of this address.";
        }

        leaf status {
          type enumeration {
            enum "preferred" {
              description
                "This is a valid address that can appear as the
                 destination or source address of a packet.";
            }
            enum "deprecated" {
              description
                "This is a valid but

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
deprecated address that should
                 no longer be used as a source address in new
                 communications, but packets addressed to such an
                 address are processed as expected.";
            }
            enum "invalid" {
              description
                "This isn't a valid address, and it shouldn't appear
                 as the destination or source address of a packet.";
            }
            enum "inaccessible" {
              description
                "The address is not accessible because the interface
                 to which this address is assigned is not
                 operational.";
            }
            enum "unknown" {
              description
                "The status cannot be determined for some reason.";
            }
            enum "tentative" {
              description
                "The uniqueness of the address on the link is being
                 verified.  Addresses in this state should not be
                 used for gen

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eral communication and should only be
                 used to determine the uniqueness of the address.";
            }
            enum "duplicate" {
              description
                "The address has been determined to be non-unique on
                 the link and so must not be used.";
            }
            enum "optimistic" {
              description
                "The address is available for use, subject to
                 restrictions, while its uniqueness on a link is
                 being verified.";
            }
          }
          config false;
          description
            "The status of an address.  Most of the states correspond
             to states from the IPv6 Stateless Address
             Autoconfiguration protocol.";
          reference
            "RFC 4293: Management Information Base for the
                       Internet Protocol (IP)
                       - IpAddressStatusTC
             RFC 4862: IPv6 Stateless Address Autoconfiguration";
        }
      }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:


      list neighbor {
        key "ip";
        description
          "A list of mappings from IPv6 addresses to
           link-layer addresses.
           Entries in this list in the intended configuration are
           used as static entries in the Neighbor Cache.
           In the operational state, this list represents the
           Neighbor Cache.";
        reference
          "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)";
        leaf ip {
          type inet:ipv6-address-no-zone;
          description
            "The IPv6 address of the neighbor node.";
        }

        leaf link-layer-address {
          type yang:phys-address;
          mandatory true;
          description
            "The link-layer address of the neighbor node.
             In the operational state, if the neighbor's 'state' leaf
             is 'incomplete', this leaf is not instantiated.";
        }

        leaf origin {
          type neighbor-origin;
          config false;
          description
            "

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
The origin of this neighbor entry.";
        }

        leaf is-router {
          type empty;
          config false;
          description
            "Indicates that the neighbor node acts as a router.";
        }

        leaf state {
          type enumeration {
            enum "incomplete" {
              description
                "Address resolution is in progress, and the
                 link-layer address of the neighbor has not yet been
                 determined.";
            }
            enum "reachable" {
              description
                "Roughly speaking, the neighbor is known to have been
                 reachable recently (within tens of seconds ago).";
            }
            enum "stale" {
              description
                "The neighbor is no longer known to be reachable, but
                 until traffic is sent to the neighbor no attempt
                 should be made to verify its reachability.";
            }
            enum "delay" {
              descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
                "The neighbor is no longer known to be reachable, and
                 traffic has recently been sent to the neighbor.
                 Rather than probe the neighbor immediately, however,
                 delay sending probes for a short while in order to
                 give upper-layer protocols a chance to provide
                 reachability confirmation.";
            }
            enum "probe" {
              description
                "The neighbor is no longer known to be reachable, and
                 unicast Neighbor Solicitation probes are being sent
                 to verify reachability.";
            }
          }
          config false;
          description
            "The Neighbor Unreachability Detection state of this
             entry.";
          reference
            "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
                       Section 7.3.2";
        }
      }

      leaf dup-addr-detect-transmits {
        type uint32;
        default "1";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   description
          "The number of consecutive Neighbor Solicitation messages
           sent while performing Duplicate Address Detection on a
           tentative address.  A value of zero indicates that
           Duplicate Address Detection is not performed on
           tentative addresses.  A value of one indicates a single
           transmission with no follow-up retransmissions.";
        reference
          "RFC 4862: IPv6 Stateless Address Autoconfiguration";
      }

      container autoconf {
        description
          "Parameters to control the autoconfiguration of IPv6
           addresses, as described in RFC 4862.";
        reference
          "RFC 4862: IPv6 Stateless Address Autoconfiguration";
        leaf create-global-addresses {
          type boolean;
          default "true";
          description
            "If enabled, the host creates global addresses as
             described in RFC 4862.";
          reference
            "RFC 4862: IPv6 Stateless Address Autoconfiguratio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n
                       Section 5.5";
        }

        leaf create-temporary-addresses {
          if-feature "ipv6-privacy-autoconf";
          type boolean;
          default "false";
          description
            "If enabled, the host creates temporary addresses as
             described in RFC 4941.";
          reference
            "RFC 4941: Privacy Extensions for Stateless Address
                       Autoconfiguration in IPv6";
        }

        leaf temporary-valid-lifetime {
          if-feature "ipv6-privacy-autoconf";
          type uint32;
          units "seconds";
          default "604800";
          description
            "The time period during which the temporary address
             is valid.";
          reference
            "RFC 4941: Privacy Extensions for Stateless Address
                       Autoconfiguration in IPv6
                       - TEMP_VALID_LIFETIME";
        }

        leaf temporary-preferred-lifetime {
          if-feature "ipv6-privacy-autoconf";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  type uint32;
          units "seconds";
          default "86400";
          description
            "The time period during which the temporary address is
             preferred.";
          reference
            "RFC 4941: Privacy Extensions for Stateless Address
                       Autoconfiguration in IPv6
                       - TEMP_PREFERRED_LIFETIME";
        }
      }
    }
  }

  augment "/if:interfaces-state/if:interface" {
    status deprecated;
    description
      "Data nodes for the operational state of IP on interfaces.";
    container ipv4 {
      presence "Present if IPv4 is enabled on this interface";
      config false;
      status deprecated;
      description
        "Interface-specific parameters for the IPv4 address family.";
      leaf forwarding {
        type boolean;
        status deprecated;
        description
          "Indicates whether IPv4 packet forwarding is enabled or
           disabled on this interface.";
      }

      leaf mtu {
        type uint16 {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  range "68..max";
        }
        units "octets";
        status deprecated;
        description
          "The size, in octets, of the largest IPv4 packet that the
           interface will send and receive.";
        reference
          "RFC 791: Internet Protocol";
      }

      list address {
        key "ip";
        status deprecated;
        description
          "The list of IPv4 addresses on the interface.";
        leaf ip {
          type inet:ipv4-address-no-zone;
          status deprecated;
          description
            "The IPv4 address on the interface.";
        }

        choice subnet {
          status deprecated;
          description
            "The subnet can be specified as a prefix length or,
             if the server supports non-contiguous netmasks, as
             a netmask.";
          leaf prefix-length {
            type uint8 {
              range "0..32";
            }
            status deprecated;
            description
              "The length of the subnet pref

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ix.";
          }

          leaf netmask {
            if-feature "ipv4-non-contiguous-netmasks";
            type yang:dotted-quad;
            status deprecated;
            description
              "The subnet specified as a netmask.";
          }
        }

        leaf origin {
          type ip-address-origin;
          status deprecated;
          description
            "The origin of this address.";
        }
      }

      list neighbor {
        key "ip";
        status deprecated;
        description
          "A list of mappings from IPv4 addresses to
           link-layer addresses.
           This list represents the ARP Cache.";
        reference
          "RFC 826: An Ethernet Address Resolution Protocol";
        leaf ip {
          type inet:ipv4-address-no-zone;
          status deprecated;
          description
            "The IPv4 address of the neighbor node.";
        }

        leaf link-layer-address {
          type yang:phys-address;
          status deprecated;
          descri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ption
            "The link-layer address of the neighbor node.";
        }

        leaf origin {
          type neighbor-origin;
          status deprecated;
          description
            "The origin of this neighbor entry.";
        }
      }
    }

    container ipv6 {
      presence "Present if IPv6 is enabled on this interface";
      config false;
      status deprecated;
      description
        "Parameters for the IPv6 address family.";
      leaf forwarding {
        type boolean;
        default "false";
        status deprecated;
        description
          "Indicates whether IPv6 packet forwarding is enabled or
           disabled on this interface.";
        reference
          "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
                     Section 6.2.1, IsRouter";
      }

      leaf mtu {
        type uint32 {
          range "1280..max";
        }
        units "octets";
        status deprecated;
        description
          "The size, in octets, of the largest IPv6 packe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t that the
           interface will send and receive.";
        reference
          "RFC 8200: Internet Protocol, Version 6 (IPv6)
                     Specification
                     Section 5";
      }

      list address {
        key "ip";
        status deprecated;
        description
          "The list of IPv6 addresses on the interface.";
        leaf ip {
          type inet:ipv6-address-no-zone;
          status deprecated;
          description
            "The IPv6 address on the interface.";
        }

        leaf prefix-length {
          type uint8 {
            range "0..128";
          }
          mandatory true;
          status deprecated;
          description
            "The length of the subnet prefix.";
        }

        leaf origin {
          type ip-address-origin;
          status deprecated;
          description
            "The origin of this address.";
        }

        leaf status {
          type enumeration {
            enum "preferred" {
              description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
              "This is a valid address that can appear as the
                 destination or source address of a packet.";
            }
            enum "deprecated" {
              description
                "This is a valid but deprecated address that should
                 no longer be used as a source address in new
                 communications, but packets addressed to such an
                 address are processed as expected.";
            }
            enum "invalid" {
              description
                "This isn't a valid address, and it shouldn't appear
                 as the destination or source address of a packet.";
            }
            enum "inaccessible" {
              description
                "The address is not accessible because the interface
                 to which this address is assigned is not
                 operational.";
            }
            enum "unknown" {
              description
                "The status cannot be determined for some reason.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
           }
            enum "tentative" {
              description
                "The uniqueness of the address on the link is being
                 verified.  Addresses in this state should not be
                 used for general communication and should only be
                 used to determine the uniqueness of the address.";
            }
            enum "duplicate" {
              description
                "The address has been determined to be non-unique on
                 the link and so must not be used.";
            }
            enum "optimistic" {
              description
                "The address is available for use, subject to
                 restrictions, while its uniqueness on a link is
                 being verified.";
            }
          }
          status deprecated;
          description
            "The status of an address.  Most of the states correspond
             to states from the IPv6 Stateless Address
             Autoconfiguration protocol.";
          ref

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
erence
            "RFC 4293: Management Information Base for the
                       Internet Protocol (IP)
                       - IpAddressStatusTC
             RFC 4862: IPv6 Stateless Address Autoconfiguration";
        }
      }

      list neighbor {
        key "ip";
        status deprecated;
        description
          "A list of mappings from IPv6 addresses to
           link-layer addresses.
           This list represents the Neighbor Cache.";
        reference
          "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)";
        leaf ip {
          type inet:ipv6-address-no-zone;
          status deprecated;
          description
            "The IPv6 address of the neighbor node.";
        }

        leaf link-layer-address {
          type yang:phys-address;
          status deprecated;
          description
            "The link-layer address of the neighbor node.";
        }

        leaf origin {
          type neighbor-origin;
          status deprecated;
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          "The origin of this neighbor entry.";
        }

        leaf is-router {
          type empty;
          status deprecated;
          description
            "Indicates that the neighbor node acts as a router.";
        }

        leaf state {
          type enumeration {
            enum "incomplete" {
              description
                "Address resolution is in progress, and the
                 link-layer address of the neighbor has not yet been
                 determined.";
            }
            enum "reachable" {
              description
                "Roughly speaking, the neighbor is known to have been
                 reachable recently (within tens of seconds ago).";
            }
            enum "stale" {
              description
                "The neighbor is no longer known to be reachable, but
                 until traffic is sent to the neighbor no attempt
                 should be made to verify its reachability.";
            }
            enum "delay" {


[INF]: LN: Session 1: sending message:

#989


[INF]: LN: Session 1: sending message:
       description
                "The neighbor is no longer known to be reachable, and
                 traffic has recently been sent to the neighbor.
                 Rather than probe the neighbor immediately, however,
                 delay sending probes for a short while in order to
                 give upper-layer protocols a chance to provide
                 reachability confirmation.";
            }
            enum "probe" {
              description
                "The neighbor is no longer known to be reachable, and
                 unicast Neighbor Solicitation probes are being sent
                 to verify reachability.";
            }
          }
          status deprecated;
          description
            "The Neighbor Unreachability Detection state of this
             entry.";
          reference
            "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
                       Section 7.3.2";
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="56"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>ietf-hardware</identifier><version>2018-03-13</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-hardware" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="56"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-hardware {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-hardware";
  prefix hw;

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-yang-types {
    prefix yang;
  }

  import iana-hardware {
    prefix ianahw;
  }

  organization
    "IETF NETMOD (Network Modeling) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/netmod/&gt;
     WG List:  &lt;mailto:netmod@ietf.org&gt;
     Editor:   Andy Bierman
               &lt;mailto:andy@yumaworks.com&gt;
     Editor:   Martin Bjorklund
               &lt;mailto:mbj@tail-f.com&gt;
     Editor:   Jie Dong
               &lt;mailto:jie.dong@huawei.com&gt;
     Editor:   Dan Romascanu
               &lt;mailto:dromasca@gmail.com&gt;";
  description
    "This module contains a collection of YANG definitions for
     managing hardware.
     This data model is des

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
igned for the Network Management Datastore
     Architecture (NMDA) defined in RFC 8342.
     Copyright (c) 2018 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).
     This version of this YANG module is part of RFC 8348; see
     the RFC itself for full legal notices.";

  revision 2018-03-13 {
    description
      "Initial revision.";
    reference
      "RFC 8348: A YANG Data Model for Hardware Management";
  }

  feature entity-mib {
    description
      "This feature indicates that the device implements
       the ENTITY-MIB.";
    reference
      "RFC 6933: Entity MIB (Version 4)";
  }

  feature hardware-state {
    description

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

      "Indicates that ENTITY-STATE-MIB objects are supported";
    reference
      "RFC 4268: Entity State MIB";
  }

  feature hardware-sensor {
    description
      "Indicates that ENTITY-SENSOR-MIB objects are supported";
    reference
      "RFC 3433: Entity Sensor Management Information Base";
  }

  typedef admin-state {
    type enumeration {
      enum "unknown" {
        value 1;
        description
          "The resource is unable to report administrative state.";
      }
      enum "locked" {
        value 2;
        description
          "The resource is administratively prohibited from use.";
      }
      enum "shutting-down" {
        value 3;
        description
          "The resource usage is administratively limited to current
           instances of use.";
      }
      enum "unlocked" {
        value 4;
        description
          "The resource is not administratively prohibited from
           use.";
      }
    }
    description
      "Represents the various possible administrative

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 states.";
    reference
      "RFC 4268: Entity State MIB - EntityAdminState";
  }

  typedef oper-state {
    type enumeration {
      enum "unknown" {
        value 1;
        description
          "The resource is unable to report its operational state.";
      }
      enum "disabled" {
        value 2;
        description
          "The resource is totally inoperable.";
      }
      enum "enabled" {
        value 3;
        description
          "The resource is partially or fully operable.";
      }
      enum "testing" {
        value 4;
        description
          "The resource is currently being tested and cannot
           therefore report whether or not it is operational.";
      }
    }
    description
      "Represents the possible values of operational states.";
    reference
      "RFC 4268: Entity State MIB - EntityOperState";
  }

  typedef usage-state {
    type enumeration {
      enum "unknown" {
        value 1;
        description
          "The resource is unable to report usage stat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e.";
      }
      enum "idle" {
        value 2;
        description
          "The resource is servicing no users.";
      }
      enum "active" {
        value 3;
        description
          "The resource is currently in use, and it has sufficient
           spare capacity to provide for additional users.";
      }
      enum "busy" {
        value 4;
        description
          "The resource is currently in use, but it currently has no
           spare capacity to provide for additional users.";
      }
    }
    description
      "Represents the possible values of usage states.";
    reference
      "RFC 4268: Entity State MIB -  EntityUsageState";
  }

  typedef alarm-state {
    type bits {
      bit unknown {
        position 0;
        description
          "The resource is unable to report alarm state.";
      }
      bit under-repair {
        position 1;
        description
          "The resource is currently being repaired, which, depending
           on the implementation, may make the othe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
r values in this
           bit string not meaningful.";
      }
      bit critical {
        position 2;
        description
          "One or more critical alarms are active against the
           resource.";
      }
      bit major {
        position 3;
        description
          "One or more major alarms are active against the
           resource.";
      }
      bit minor {
        position 4;
        description
          "One or more minor alarms are active against the
           resource.";
      }
      bit warning {
        position 5;
        description
          "One or more warning alarms are active against the
           resource.";
      }
      bit indeterminate {
        position 6;
        description
          "One or more alarms of whose perceived severity cannot be
           determined are active against this resource.";
      }
    }
    description
      "Represents the possible values of alarm states.  An alarm is a
       persistent indication of an error or warning condition.


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     When no bits of this attribute are set, then no active alarms
       are known against this component and it is not under repair.";
    reference
      "RFC 4268: Entity State MIB - EntityAlarmStatus";
  }

  typedef standby-state {
    type enumeration {
      enum "unknown" {
        value 1;
        description
          "The resource is unable to report standby state.";
      }
      enum "hot-standby" {
        value 2;
        description
          "The resource is not providing service, but it will be
           immediately able to take over the role of the resource to
           be backed up, without the need for initialization
           activity, and will contain the same information as the
           resource to be backed up.";
      }
      enum "cold-standby" {
        value 3;
        description
          "The resource is to back up another resource, but it will
           not be immediately able to take over the role of a
           resource to be backed up and will require some


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  initialization activity.";
      }
      enum "providing-service" {
        value 4;
        description
          "The resource is providing service.";
      }
    }
    description
      "Represents the possible values of standby states.";
    reference
      "RFC 4268: Entity State MIB - EntityStandbyStatus";
  }

  typedef sensor-value-type {
    type enumeration {
      enum "other" {
        value 1;
        description
          "A measure other than those listed below.";
      }
      enum "unknown" {
        value 2;
        description
          "An unknown measurement or arbitrary, relative numbers";
      }
      enum "volts-AC" {
        value 3;
        description
          "A measure of electric potential (alternating current).";
      }
      enum "volts-DC" {
        value 4;
        description
          "A measure of electric potential (direct current).";
      }
      enum "amperes" {
        value 5;
        description
          "A measure of electric current.";
      }
      enum "wa

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tts" {
        value 6;
        description
          "A measure of power.";
      }
      enum "hertz" {
        value 7;
        description
          "A measure of frequency.";
      }
      enum "celsius" {
        value 8;
        description
          "A measure of temperature.";
      }
      enum "percent-RH" {
        value 9;
        description
          "A measure of percent relative humidity.";
      }
      enum "rpm" {
        value 10;
        description
          "A measure of shaft revolutions per minute.";
      }
      enum "cmm" {
        value 11;
        description
          "A measure of cubic meters per minute (airflow).";
      }
      enum "truth-value" {
        value 12;
        description
          "Value is one of 1 (true) or 2 (false)";
      }
    }
    description
      "A node using this data type represents the sensor measurement
       data type associated with a physical sensor value.  The actual
       data units are determined by examining a node of this type


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
together with the associated sensor-value-scale node.
       A node of this type SHOULD be defined together with nodes of
       type sensor-value-scale and type sensor-value-precision.
       These three types are used to identify the semantics of a node
       of type sensor-value.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorDataType";
  }

  typedef sensor-value-scale {
    type enumeration {
      enum "yocto" {
        value 1;
        description
          "Data scaling factor of 10^-24.";
      }
      enum "zepto" {
        value 2;
        description
          "Data scaling factor of 10^-21.";
      }
      enum "atto" {
        value 3;
        description
          "Data scaling factor of 10^-18.";
      }
      enum "femto" {
        value 4;
        description
          "Data scaling factor of 10^-15.";
      }
      enum "pico" {
        value 5;
        description
          "Data scaling factor of 10^-12.";
      }
      enum "nan

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
o" {
        value 6;
        description
          "Data scaling factor of 10^-9.";
      }
      enum "micro" {
        value 7;
        description
          "Data scaling factor of 10^-6.";
      }
      enum "milli" {
        value 8;
        description
          "Data scaling factor of 10^-3.";
      }
      enum "units" {
        value 9;
        description
          "Data scaling factor of 10^0.";
      }
      enum "kilo" {
        value 10;
        description
          "Data scaling factor of 10^3.";
      }
      enum "mega" {
        value 11;
        description
          "Data scaling factor of 10^6.";
      }
      enum "giga" {
        value 12;
        description
          "Data scaling factor of 10^9.";
      }
      enum "tera" {
        value 13;
        description
          "Data scaling factor of 10^12.";
      }
      enum "peta" {
        value 14;
        description
          "Data scaling factor of 10^15.";
      }
      enum "exa" {
        value 15;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    "Data scaling factor of 10^18.";
      }
      enum "zetta" {
        value 16;
        description
          "Data scaling factor of 10^21.";
      }
      enum "yotta" {
        value 17;
        description
          "Data scaling factor of 10^24.";
      }
    }
    description
      "A node using this data type represents a data scaling factor,
       represented with an International System of Units (SI) prefix.
       The actual data units are determined by examining a node of
       this type together with the associated sensor-value-type.
       A node of this type SHOULD be defined together with nodes of
       type sensor-value-type and type sensor-value-precision.
       Together, associated nodes of these three types are used to
       identify the semantics of a node of type sensor-value.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorDataScale";
  }

  typedef sensor-value-precision {
    type int8 {
      range "-8 .. 9";
    }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 description
      "A node using this data type represents a sensor value
       precision range.
       A node of this type SHOULD be defined together with nodes of
       type sensor-value-type and type sensor-value-scale.  Together,
       associated nodes of these three types are used to identify the
       semantics of a node of type sensor-value.
       If a node of this type contains a value in the range 1 to 9,
       it represents the number of decimal places in the fractional
       part of an associated sensor-value fixed-point number.
       If a node of this type contains a value in the range -8 to -1,
       it represents the number of accurate digits in the associated
       sensor-value fixed-point number.
       The value zero indicates the associated sensor-value node is
       not a fixed-point number.
       Server implementers must choose a value for the associated
       sensor-value-precision node so that the precision and accuracy
       of the associated sensor-value node is correctly

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 indicated.
       For example, a component representing a temperature sensor
       that can measure 0 to 100 degrees C in 0.1 degree
       increments, +/- 0.05 degrees, would have a
       sensor-value-precision value of '1', a sensor-value-scale
       value of 'units', and a sensor-value ranging from '0' to
       '1000'.  The sensor-value would be interpreted as
       'degrees C * 10'.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorPrecision";
  }

  typedef sensor-value {
    type int32 {
      range "-1000000000 .. 1000000000";
    }
    description
      "A node using this data type represents a sensor value.
       A node of this type SHOULD be defined together with nodes of
       type sensor-value-type, type sensor-value-scale, and
       type sensor-value-precision.  Together, associated nodes of
       those three types are used to identify the semantics of a node
       of this data type.
       The semantics of a node using this data

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
type are determined by
       the value of the associated sensor-value-type node.
       If the associated sensor-value-type node is equal to 'voltsAC',
       'voltsDC', 'amperes', 'watts', 'hertz', 'celsius', or 'cmm',
       then a node of this type MUST contain a fixed-point number
       ranging from -999,999,999 to +999,999,999.  The value
       -1000000000 indicates an underflow error.  The value
       +1000000000 indicates an overflow error.  The
       sensor-value-precision indicates how many fractional digits
       are represented in the associated sensor-value node.
       If the associated sensor-value-type node is equal to
       'percentRH', then a node of this type MUST contain a number
       ranging from 0 to 100.
       If the associated sensor-value-type node is equal to 'rpm',
       then a node of this type MUST contain a number ranging from
       -999,999,999 to +999,999,999.
       If the associated sensor-value-type node is equal to
       'truth-value', then a node of this type M

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
UST contain either the
       value 1 (true) or the value 2 (false).
       If the associated sensor-value-type node is equal to 'other' or
       'unknown', then a node of this type MUST contain a number
       ranging from -1000000000 to 1000000000.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorValue";
  }

  typedef sensor-status {
    type enumeration {
      enum "ok" {
        value 1;
        description
          "Indicates that the server can obtain the sensor value.";
      }
      enum "unavailable" {
        value 2;
        description
          "Indicates that the server presently cannot obtain the
           sensor value.";
      }
      enum "nonoperational" {
        value 3;
        description
          "Indicates that the server believes the sensor is broken.
           The sensor could have a hard failure (disconnected wire)
           or a soft failure such as out-of-range, jittery, or wildly
           fluctuating readings.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     }
    }
    description
      "A node using this data type represents the operational status
       of a physical sensor.";
    reference
      "RFC 3433: Entity Sensor Management Information Base -
                 EntitySensorStatus";
  }

  container hardware {
    description
      "Data nodes representing components.
       If the server supports configuration of hardware components,
       then this data model is instantiated in the configuration
       datastores supported by the server.  The leaf-list 'datastore'
       for the module 'ietf-hardware' in the YANG library provides
       this information.";
    leaf last-change {
      type yang:date-and-time;
      config false;
      description
        "The time the '/hardware/component' list changed in the
         operational state.";
    }

    list component {
      key "name";
      description
        "List of components.
         When the server detects a new hardware component, it
         initializes a list entry in the operational stat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e.
         If the server does not support configuration of hardware
         components, list entries in the operational state are
         initialized with values for all nodes as detected by the
         implementation.
         Otherwise, this procedure is followed:
           1. If there is an entry in the '/hardware/component' list
              in the intended configuration with values for the nodes
              'class', 'parent', and 'parent-rel-pos' that are equal
              to the detected values, then the list entry in the
              operational state is initialized with the configured
              values, including the 'name'.
           2. Otherwise (i.e., there is no matching configuration
              entry), the list entry in the operational state is
              initialized with values for all nodes as detected by
              the implementation.
         If the '/hardware/component' list in the intended
         configuration is modified, then the system MUST behave as if


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 it re-initializes itself and follow the procedure in (1).";
      reference
        "RFC 6933: Entity MIB (Version 4) - entPhysicalEntry";
      leaf name {
        type string;
        description
          "The name assigned to this component.
           This name is not required to be the same as
           entPhysicalName.";
      }

      leaf class {
        type identityref {
          base ianahw:hardware-class;
        }
        mandatory true;
        description
          "An indication of the general hardware type of the
           component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalClass";
      }

      leaf physical-index {
        if-feature "entity-mib";
        type int32 {
          range "1..2147483647";
        }
        config false;
        description
          "The entPhysicalIndex for the entPhysicalEntry represented
           by this list entry.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalIndex";
      }

      l

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eaf description {
        type string;
        config false;
        description
          "A textual description of the component.  This node should
           contain a string that identifies the manufacturer's name
           for the component and should be set to a distinct value
           for each version or model of the component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalDescr";
      }

      leaf parent {
        type leafref {
          path "../../component/name";
          require-instance false;
        }
        description
          "The name of the component that physically contains this
           component.
           If this leaf is not instantiated, it indicates that this
           component is not contained in any other component.
           In the event that a physical component is contained by
           more than one physical component (e.g., double-wide
           modules), this node contains the name of one of these
           components.  An impl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ementation MUST use the same name
           every time this node is instantiated.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalContainedIn";
      }

      leaf parent-rel-pos {
        type int32 {
          range "0 .. 2147483647";
        }
        description
          "An indication of the relative position of this child
           component among all its sibling components.  Sibling
           components are defined as components that:
             o share the same value of the 'parent' node and
             o share a common base identity for the 'class' node.
           Note that the last rule gives implementations flexibility
           in how components are numbered.  For example, some
           implementations might have a single number series for all
           components derived from 'ianahw:port', while some others
           might have different number series for different
           components with identities derived from 'ianahw:port' (for
           example,

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
one for registered jack 45 (RJ45) and one for
           small form-factor pluggable (SFP)).";
        reference
          "RFC 6933: Entity MIB (Version 4) -
                     entPhysicalParentRelPos";
      }

      leaf-list contains-child {
        type leafref {
          path "../../component/name";
        }
        config false;
        description
          "The name of the contained component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalChildIndex";
      }

      leaf hardware-rev {
        type string;
        config false;
        description
          "The vendor-specific hardware revision string for the
           component.  The preferred value is the hardware revision
           identifier actually printed on the component itself (if
           present).";
        reference
          "RFC 6933: Entity MIB (Version 4) -
                     entPhysicalHardwareRev";
      }

      leaf firmware-rev {
        type string;
        config false;
        descript

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ion
          "The vendor-specific firmware revision string for the
           component.";
        reference
          "RFC 6933: Entity MIB (Version 4) -
                     entPhysicalFirmwareRev";
      }

      leaf software-rev {
        type string;
        config false;
        description
          "The vendor-specific software revision string for the
           component.";
        reference
          "RFC 6933: Entity MIB (Version 4) -
                     entPhysicalSoftwareRev";
      }

      leaf serial-num {
        type string;
        config false;
        description
          "The vendor-specific serial number string for the
           component.  The preferred value is the serial number
           string actually printed on the component itself (if
           present).";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalSerialNum";
      }

      leaf mfg-name {
        type string;
        config false;
        description
          "The name of the manufacturer

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 of this physical component.
           The preferred value is the manufacturer name string
           actually printed on the component itself (if present).
           Note that comparisons between instances of the
           'model-name', 'firmware-rev', 'software-rev', and
           'serial-num' nodes are only meaningful amongst components
           with the same value of 'mfg-name'.
           If the manufacturer name string associated with the
           physical component is unknown to the server, then this
           node is not instantiated.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalMfgName";
      }

      leaf model-name {
        type string;
        config false;
        description
          "The vendor-specific model name identifier string
           associated with this physical component.  The preferred
           value is the customer-visible part number, which may be
           printed on the component itself.
           If the model name string associate

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d with the physical
           component is unknown to the server, then this node is not
           instantiated.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalModelName";
      }

      leaf alias {
        type string;
        description
          "An 'alias' name for the component, as specified by a
           network manager, that provides a non-volatile 'handle' for
           the component.
           If no configured value exists, the server MAY set the
           value of this node to a locally unique value in the
           operational state.
           A server implementation MAY map this leaf to the
           entPhysicalAlias MIB object.  Such an implementation needs
           to use some mechanism to handle the differences in size
           and characters allowed between this leaf and
           entPhysicalAlias.  The definition of such a mechanism is
           outside the scope of this document.";
        reference
          "RFC 6933: Entity MIB (Version 4) -

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
entPhysicalAlias";
      }

      leaf asset-id {
        type string;
        description
          "This node is a user-assigned asset tracking identifier for
           the component.
           A server implementation MAY map this leaf to the
           entPhysicalAssetID MIB object.  Such an implementation
           needs to use some mechanism to handle the differences in
           size and characters allowed between this leaf and
           entPhysicalAssetID.  The definition of such a mechanism is
           outside the scope of this document.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalAssetID";
      }

      leaf is-fru {
        type boolean;
        config false;
        description
          "This node indicates whether or not this component is
           considered a 'field-replaceable unit' by the vendor.  If
           this node contains the value 'true', then this component
           identifies a field-replaceable unit.  For all components
           that a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
re permanently contained within a field-replaceable
           unit, the value 'false' should be returned for this
           node.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalIsFRU";
      }

      leaf mfg-date {
        type yang:date-and-time;
        config false;
        description
          "The date of manufacturing of the managed component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalMfgDate";
      }

      leaf-list uri {
        type inet:uri;
        description
          "This node contains identification information about the
           component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalUris";
      }

      leaf uuid {
        type yang:uuid;
        config false;
        description
          "A Universally Unique Identifier of the component.";
        reference
          "RFC 6933: Entity MIB (Version 4) - entPhysicalUUID";
      }

      container state {
        if-feature "hardware-stat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e";
        description
          "State-related nodes";
        reference
          "RFC 4268: Entity State MIB";
        leaf state-last-changed {
          type yang:date-and-time;
          config false;
          description
            "The date and time when the value of any of the
             admin-state, oper-state, usage-state, alarm-state, or
             standby-state changed for this component.
             If there has been no change since the last
             re-initialization of the local system, this node
             contains the date and time of local system
             initialization.  If there has been no change since the
             component was added to the local system, this node
             contains the date and time of the insertion.";
          reference
            "RFC 4268: Entity State MIB - entStateLastChanged";
        }

        leaf admin-state {
          type admin-state;
          description
            "The administrative state for this component.
             Thi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
s node refers to a component's administrative
             permission to service both other components within its
             containment hierarchy as well other users of its
             services defined by means outside the scope of this
             module.
             Some components exhibit only a subset of the remaining
             administrative state values.  Some components cannot be
             locked; hence, this node exhibits only the 'unlocked'
             state.  Other components cannot be shut down gracefully;
             hence, this node does not exhibit the 'shutting-down'
             state.";
          reference
            "RFC 4268: Entity State MIB - entStateAdmin";
        }

        leaf oper-state {
          type oper-state;
          config false;
          description
            "The operational state for this component.
             Note that this node does not follow the administrative
             state.  An administrative state of 'down' does not
             predict an

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
operational state of 'disabled'.
             Note that some implementations may not be able to
             accurately report oper-state while the admin-state node
             has a value other than 'unlocked'.  In these cases, this
             node MUST have a value of 'unknown'.";
          reference
            "RFC 4268: Entity State MIB - entStateOper";
        }

        leaf usage-state {
          type usage-state;
          config false;
          description
            "The usage state for this component.
             This node refers to a component's ability to service
             more components in a containment hierarchy.
             Some components will exhibit only a subset of the usage
             state values.  Components that are unable to ever
             service any components within a containment hierarchy
             will always have a usage state of 'busy'.  In some
             cases, a component will be able to support only one
             other component within its containm

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ent hierarchy and
             will therefore only exhibit values of 'idle' and
             'busy'.";
          reference
            "RFC 4268: Entity State MIB - entStateUsage";
        }

        leaf alarm-state {
          type alarm-state;
          config false;
          description
            "The alarm state for this component.  It does not
             include the alarms raised on child components within its
             containment hierarchy.";
          reference
            "RFC 4268: Entity State MIB - entStateAlarm";
        }

        leaf standby-state {
          type standby-state;
          config false;
          description
            "The standby state for this component.
             Some components will exhibit only a subset of the
             remaining standby state values.  If this component
             cannot operate in a standby role, the value of this node
             will always be 'providing-service'.";
          reference
            "RFC 4268: Entity State MIB - entSta

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
teStandby";
        }
      }

      container sensor-data {
        when "derived-from-or-self(../class,\n                                 \"ianahw:sensor\")" {
          description
            "Sensor data nodes present for any component of type
             'sensor'";
        }
        if-feature "hardware-sensor";
        config false;
        description
          "Sensor-related nodes.";
        reference
          "RFC 3433: Entity Sensor Management Information Base";
        leaf value {
          type sensor-value;
          description
            "The most recent measurement obtained by the server
             for this sensor.
             A client that periodically fetches this node should also
             fetch the nodes 'value-type', 'value-scale', and
             'value-precision', since they may change when the value
             is changed.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorValue";
        }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
leaf value-type {
          type sensor-value-type;
          description
            "The type of data units associated with the
             sensor value";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorType";
        }

        leaf value-scale {
          type sensor-value-scale;
          description
            "The (power of 10) scaling factor associated
             with the sensor value";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorScale";
        }

        leaf value-precision {
          type sensor-value-precision;
          description
            "The number of decimal places of precision
             associated with the sensor value";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorPrecision";
        }

        leaf oper-status {
          type sensor-status;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
description
            "The operational status of the sensor.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorOperStatus";
        }

        leaf units-display {
          type string;
          description
            "A textual description of the data units that should be
             used in the display of the sensor value.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorUnitsDisplay";
        }

        leaf value-timestamp {
          type yang:date-and-time;
          description
            "The time the status and/or value of this sensor was last
             obtained by the server.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorValueTimeStamp";
        }

        leaf value-update-rate {
          type uint32;
          units "milliseconds";
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  "An indication of the frequency that the server updates
             the associated 'value' node, represented in
             milliseconds.  The value zero indicates:
              - the sensor value is updated on demand (e.g.,
                when polled by the server for a get-request),
              - the sensor value is updated when the sensor
                value changes (event-driven), or
              - the server does not know the update rate.";
          reference
            "RFC 3433: Entity Sensor Management Information Base -
                       entPhySensorValueUpdateRate";
        }
      }
    }
  }

  notification hardware-state-change {
    description
      "A hardware-state-change notification is generated when the
       value of /hardware/last-change changes in the operational
       state.";
    reference
      "RFC 6933: Entity MIB (Version 4) - entConfigChange";
  }

  notification hardware-state-oper-enabled {
    if-feature "hardware-state";
    description
      "A hardware-s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tate-oper-enabled notification signifies that a
       component has transitioned into the 'enabled' state.";
    reference
      "RFC 4268: Entity State MIB - entStateOperEnabled";
    leaf name {
      type leafref {
        path "/hardware/component/name";
      }
      description
        "The name of the component that has transitioned into the
         'enabled' state.";
    }

    leaf admin-state {
      type leafref {
        path "/hardware/component/state/admin-state";
      }
      description
        "The administrative state for the component.";
    }

    leaf alarm-state {
      type leafref {
        path "/hardware/component/state/alarm-state";
      }
      description
        "The alarm state for the component.";
    }
  }

  notification hardware-state-oper-disabled {
    if-feature "hardware-state";
    description
      "A hardware-state-oper-disabled notification signifies that a
       component has transitioned into the 'disabled' state.";
    reference
      "RFC 4268: Entity State

[INF]: LN: Session 1: sending message:

#622


[INF]: LN: Session 1: sending message:
MIB - entStateOperDisabled";
    leaf name {
      type leafref {
        path "/hardware/component/name";
      }
      description
        "The name of the component that has transitioned into the
         'disabled' state.";
    }

    leaf admin-state {
      type leafref {
        path "/hardware/component/state/admin-state";
      }
      description
        "The administrative state for the component.";
    }

    leaf alarm-state {
      type leafref {
        path "/hardware/component/state/alarm-state";
      }
      description
        "The alarm state for the component.";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="57"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-if-type</identifier><version>2020-08-18</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-if-type" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="57"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-if-type {
  yang-version 1.1;
  namespace "urn:o-ran:o-ran-if-type:1.0";
  prefix oranift;

  import ietf-interfaces {
    prefix if;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the operational state data for SFP transceivers used in
     an O-RAN Radio Unit.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES;

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";



[INF]: LN: Session 1: sending message:

#461


[INF]: LN: Session 1: sending message:
  revision 2020-08-18 {
    description
      "version 1.0.0
       1) extend iana type.";
    reference
      "ORAN-WG4.M.0-v02.00";
  }

  identity o-ran-interface-type {
    base if:interface-type;
    description
      "This identity is used as a base for all interface types
       defined in the 'ifType definitions' registry.";
  }

  identity cpri {
    base o-ran-interface-type;
    description
      "interface o-ran type.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="58"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-interfaces-cpri</identifier><version>2020-04-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-interfaces-cpri" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="58"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-interfaces-cpri {
  yang-version 1.1;
  namespace "urn:o-ran:interfaces-cpri:1.0";
  prefix o-ran-int-cpri;

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-interfaces {
    prefix if;
  }

  import ietf-hardware {
    prefix hw;
  }

  import ietf-yang-types {
    prefix yang;
  }

  import iana-hardware {
    prefix ianahw;
  }

  import o-ran-if-type {
    prefix oranift;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for managng the O-RAN
     interfaces.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials prov

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-04-03 {
    description
      "version 1.0.0
       1) Add CPRI Int";
    reference
      "ORAN-WG4.M.0-v03.00";
  }

  feature CPRI-INTERFACE {
    description
      "This feature indicates that the RU supports the CPRI interface";
  }

  grouping cpri-startup-status-group {
    container cpri-startup-status {
      config false;
      description
        "This MO defines CPRI status.";
      leaf cpri-startup-state {
        type enumeration {
          enum "DISABLE" {
            description
              "DISABLE, reflects cpri status Non-F";
          }
          enum "ENABLE" {
            description
              "ENABLE, reflects cpri status F";
          }
        }
        description
          "This parameter indicates CPRI start-up status.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 }
    }
  }

  grouping cpri-link-status-group {
    container cpri-link-status {
      config false;
      description
        "This MO defines CPRI Link status.";
      leaf cpri-link-state {
        type enumeration {
          enum "NORMAL" {
            description
              "link state is Normal";
          }
          enum "ABNORMAL" {
            description
              "link state is abnormal";
          }
        }
        description
          "This parameter indicates CPRI Link status.";
      }
    }
  }

  container cpri-status {
    config false;
    description
      "Main containter for cpri link related parameters";
    uses cpri-startup-status-group;

    uses cpri-link-status-group;
  }

  augment "/if:interfaces/if:interface" {
    when "if:type = 'oranift:cpri'" {
      description
        "Applies to cpri interfaces";
    }
    description
      "Augment the interface model with parameters for CPRI interfaces.";
    container cpri-interface {
      leaf mac-address {
        type

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 yang:mac-address;
        description
          "The MAC address of the interface.";
      }

      container port-reference {
        description
          "a port reference used by other O-RAN modules";
        leaf port-name {
          type leafref {
            path "/hw:hardware/hw:component/hw:name";
          }
          must "derived-from-or-self(deref(current())/../hw:class, 'ianahw:port')";
          description
            "O-RAN interfaces use a reference to a physical port component.
             In this case, the component name referenced must be of class type
             port, i.e., when /hw:hardware/hw:component/hw:class is derived from
             ianahw:port";
        }

        leaf port-number {
          type uint8;
          description
            "A number allocated by the server which identifies a port.
             Port number value is 0 to N-1 where N is number of ports
             in the device.
             This value is fixed for the lifetime of the equipment, i.e., cannot b

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e
             changed during equipment reboots.";
        }

        container cpri-config {
          if-feature "CPRI-INTERFACE";
          description
            "This MO defines configuration of  CPRI Interface.";
          leaf port-mode {
            if-feature "CPRI-INTERFACE";
            type enumeration {
              enum "MASTER";
              enum "SLAVE";
              enum "UNKNOW";
            }
          }

          leaf cpri-version {
            type string {
              length "3";
              pattern "[1-9].[1-9]";
            }
            description
              "This parameter  indicates CPRI protocol version";
          }

          leaf line-bit-rate {
            type decimal64 {
              fraction-digits 18;
            }
            description
              "This parameter  indicates CPRI rate";
          }

          leaf ethernet-pointer {
            type uint8 {
              range "0..63";
            }
            description
              "pointer to start o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
f fast C&amp;M";
          }

          leaf samplewidth {
            type uint8 {
              range "1..16";
            }
            description
              "IQ sample width 1-16 bits";
          }

          leaf linecoding {
            type enumeration {
              enum "LC8B10B";
              enum "LC64B66B";
              enum "LC64B66BRSFEC";
              enum "UNKNOW";
            }
            description
              "select line coding";
          }
        }
      }

      leaf ber-counts {
        type string;
        config false;
        description
          "BER value";
      }
    }
  }

  rpc reset-interface-counters {
    description
      "Management plane triggered restart of the interface counters.";
  }

  notification cpri-startup-state-change {
    description
      "Notification used to inform about cpri start up state change";
    leaf cpri-startup-state {
      type leafref {
        path "/cpri-status/cpri-startup-status/cpri-startup-state";
      }
      description

[INF]: LN: Session 1: sending message:

#428


[INF]: LN: Session 1: sending message:

        "State of CPRI Start up is notified at state change";
    }
  }

  notification cpri-link-state-change {
    description
      "Notification used to inform about cpri link state change";
    leaf cpri-link-state {
      type leafref {
        path "/cpri-status/cpri-link-status/cpri-link-state";
      }
      description
        "State of CPRI Link Status is notified at state change";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="59"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-if-type</identifier><version>2020-08-18</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-if-type" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="59"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-if-type {
  yang-version 1.1;
  namespace "urn:o-ran:o-ran-if-type:1.0";
  prefix oranift;

  import ietf-interfaces {
    prefix if;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the operational state data for SFP transceivers used in
     an O-RAN Radio Unit.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES;

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";



[INF]: LN: Session 1: sending message:

#461


[INF]: LN: Session 1: sending message:
  revision 2020-08-18 {
    description
      "version 1.0.0
       1) extend iana type.";
    reference
      "ORAN-WG4.M.0-v02.00";
  }

  identity o-ran-interface-type {
    base if:interface-type;
    description
      "This identity is used as a base for all interface types
       defined in the 'ifType definitions' registry.";
  }

  identity cpri {
    base o-ran-interface-type;
    description
      "interface o-ran type.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="60"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-module-cap</identifier><version>2020-04-17</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-module-cap" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="60"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-module-cap {
  yang-version 1.1;
  namespace "urn:o-ran:module-cap:1.0";
  prefix o-ran-module-cap;

  import o-ran-compression-factors {
    prefix cf;
    revision-date 2020-03-05;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the module capabilities for
     the O-RAN Radio Unit.

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTIT

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
UTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior w

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ritten permission.";

  revision 2020-04-17 {
    description
      "version 3.0.0

       1) Adding optional little endian support
       2) Added support for Dynamic Spectrum Sharing feature
       3) Enable number-of-ru-ports to be different between dl and ul
       4) renable egularizationFactor to be signalled outside of section type 6
       5) Enable PRACH preamble formats supported to be signalled by O-RU
       6) adding support for selective RE sending
       7) supporting new section extension for grouping multiple ports
       8) signalling to enable O-RU to ndicate is requires unique ecpri sequence id
        for eAxC_IDs serving for UL and DL for the same carrier component";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 1.1.0

       1) backward compatible change to introduce new RW leafs for use in
       constraints in uplane-config and laa models.
       2) removing unnecessary relations to band 46 in uplink";
    reference
      "ORAN-W

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
G4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature LAA {
    description
      "Indicates that the Radio Unit supports LAA.";
  }

  feature EAXC-ID-GROUP-SUPPORTED {
    description
      "indicates that the Radio Unit supports EAXC-ID-GROUP-SUPPORTED.";
  }

  feature TRANSPORT-FRAGMENTATION {
    description
      "This leaf is used to indicate whether the O-RU supports O-RAN Radio Transport Fragmentation";
  }

  feature DSS_LTE_NR {
    description
      "Indicates that the Radio Unit supports Dynamic Spectrum Sharing between LTE and NR.";
  }

  typedef sub-band-string {
    type string {
      pattern "[ABCD]";
    }
    description
      "Sub bands definition";
  }

  typedef scs-config-type {
    type enumeration {
      enum "KHZ_15" {
        value 0;
        description
          "15kHz sub carrier spacing";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 }
      enum "KHZ_30" {
        value 1;
        description
          "30kHz sub carrier spacing";
      }
      enum "KHZ_60" {
        value 2;
        description
          "60kHz sub carrier spacing";
      }
      enum "KHZ_120" {
        value 3;
        description
          "120kHz sub carrier spacing";
      }
      enum "KHZ_240" {
        value 4;
        description
          "240kHz sub carrier spacing";
      }
      enum "KHZ_1_25" {
        value 12;
        description
          "1,25kHz sub carrier spacing";
      }
      enum "KHZ_3_75" {
        value 13;
        description
          "3.75kHz sub carrier spacing";
      }
      enum "KHZ_5" {
        value 14;
        description
          "5kHz sub carrier spacing";
      }
      enum "KHZ_7_5" {
        value 15;
        description
          "7.5kHz sub carrier spacing";
      }
    }
    description
      "Scs configuration type definition";
  }

  grouping compression-method-grouping {
    description
      "Grouping for compressio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n method.";
    leaf compression-method {
      type enumeration {
        enum "BLOCK_FLOATING_POINT" {
          description
            "Block floating point compression and decompression will be used";
        }
        enum "BLOCK_SCALING" {
          description
            "Block scaling compression and decompresion will be used";
        }
        enum "U_LAW" {
          description
            "u-Law compression and decompresion method will be used";
        }
        enum "BEAMSPACE" {
          description
            "Beamspace compression and decompression will be used";
        }
        enum "MODULATION" {
          description
            "Modulation compression and decompression will be used";
        }
        enum "BLOCK-FLOATING-POINT-SELECTIVE-RE-SENDING" {
          description
            "block floating point with selective re sending
             compression and decompression will be used";
        }
        enum "MODULATION-COMPRESSION-SELECTIVE-RE-SENDING" {
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
           "modulation compression with selective re sending
             compression and decompression will be used";
        }
      }
      description
        "Compresion method which can be supported by the O-RU";
    }
  }

  grouping sub-band-max-min-ul-dl-frequency {
    description
      "Grouping for defining max and min supported frequency - dl and ul.";
    leaf max-supported-frequency-dl {
      type uint64;
      description
        "This value indicates Maximum supported downlink frequency in the
         LAA subband. Value unit is Hz.";
    }

    leaf min-supported-frequency-dl {
      type uint64;
      description
        "This value indicates Minimum supported downlink frequency in the
         LAA subband. Value unit is Hz.";
    }
  }

  grouping format-of-iq-sample {
    description
      "Indicates module capabilities about IQ samples";
    leaf dynamic-compression-supported {
      type boolean;
      description
        "Informs if radio supports dynamic compression method";
    }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   leaf realtime-variable-bit-width-supported {
      type boolean;
      description
        "Informs if O-RU supports realtime variable bit with";
    }

    list compression-method-supported {
      description
        "List of supported compression methods by O-RU";
      uses cf:compression-details;
    }

    leaf variable-bit-width-per-channel-supported {
      when "/module-capability/ru-capabilities/format-of-iq-sample/realtime-variable-bit-width-supported = 'true'";
      type boolean;
      description
        "Informs if variable bit width per channel is supported or not";
    }

    leaf syminc-supported {
      type boolean;
      description
        "Informs if symbol number increment command in a C-Plane is
         supported or not";
    }

    leaf regularization-factor-se-supported {
      type boolean;
      description
        "Informs if regularizationFactor in section type 5 is
         supported(true) or not(false)";
    }

    leaf little-endian-supported {
      type boolean;
      d

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
efault "false";
      description
        "All O-RUs support bigendian byte order. This node informs if module supports the
         the optional capability for little endian byte order for C/U plane data flows.

         Note - little endian support does not invalidate bigendian support.";
    }
  }

  grouping scs-a-b {
    description
      "Grouping for scs-a and scs-b";
    leaf scs-a {
      type scs-config-type;
      description
        "Sub-carrier spacing configuration";
    }

    leaf scs-b {
      type scs-config-type;
      description
        "Sub-carrier spacing configuration";
    }
  }

  grouping ul-mixed-num-required-guard-rbs {
    description
      "Required number of guard resource blocks for the combination of
       subcarrier spacing values for uplink";
    uses scs-a-b;

    leaf number-of-guard-rbs-ul {
      type uint8;
      description
        "This value indicates the required number of guard resource blocks
         between the mixed numerologies, the RB using scs-a and the RB

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

         using scs-b. It's number is based on scs-a";
    }
  }

  grouping dl-mixed-num-required-guard-rbs {
    description
      "Required number of guard resource blocks for the combination of
       subcarrier spacing values for uplink";
    uses scs-a-b;

    leaf number-of-guard-rbs-dl {
      type uint8;
      description
        "This value indicates the required number of guard resource blocks
         between the mixed numerologies, the RB using scs-a and the RB
         using scs-b. It's number is based on scs-a";
    }
  }

  grouping ru-capabilities {
    description
      "Structure representing set of capabilities.";
    leaf ru-supported-category {
      type enumeration {
        enum "CAT_A" {
          description
            "Informs that precoding is not supported in O-RU";
        }
        enum "CAT_B" {
          description
            "Informs that precoding is supported in O-RU";
        }
      }
      description
        "Informs about which category O-RU supports";
    }

    l

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eaf number-of-ru-ports {
      type uint8;
      status deprecated;
      description
        "Assuming all endpoints support time-managed traffic AND non-time-managed traffic (choice is as per configuration)
         - the number of O-RU ports is the product of number of spatial streams (leaf number-of-spatial-streams) and number of numerologies O-RU supports.
         For example, if the number of spatial streams is 4 then the number of O-RU ports is 8 when PUSCH and PRACH are processed in the different endpoints.
         In case there are specific endpoints that support non-time-managed traffic only
         - the number of O-RU ports calculated with above mentioned equation is extended by number of endpoints supporting only non-time-managed traffic.";
    }

    leaf number-of-ru-ports-ul {
      type uint8;
      description
        "Assuming all endpoints support time-managed traffic AND non-time-managed traffic (choice is as per configuration)
         - the number of O-RU ports for uplink is the prod

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
uct of number of spatial streams (leaf number-of-spatial-streams) and number of numerologies O-RU supports.
         For example, if the number of spatial streams is 4 then the number of O-RU ports is 8 when PUSCH and PRACH are processed in the different endpoints.
         In case there are specific endpoints that support non-time-managed traffic only
         - the number of O-RU ports calculated with above mentioned equation is extended by number of endpoints supporting only non-time-managed traffic.";
    }

    leaf number-of-ru-ports-dl {
      type uint8;
      description
        "Assuming all endpoints support time-managed traffic AND non-time-managed traffic (choice is as per configuration)
         - the number of O-RU ports for downlink is the product of number of spatial streams (leaf number-of-spatial-streams) and number of numerologies O-RU supports.
         For example, if the number of spatial streams is 4 then the number of O-RU ports is 8 when SSB and non-SSB are processed in the different

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 endpoints.
         In case there are specific endpoints that support non-time-managed traffic only
         - the number of O-RU ports calculated with above mentioned equation is extended by number of endpoints supporting only non-time-managed traffic.";
    }

    leaf number-of-spatial-streams {
      type uint8;
      description
        "This value indicates the number of spatial streams supported at O-RU for DL and UL.
         For DL, it is same as the number of antenna ports specified in 3GPP TS38.214, Section 5.2 and 3GPP TS36.213, Section 5.2.";
    }

    leaf max-power-per-pa-antenna {
      type decimal64 {
        fraction-digits 4;
      }
      description
        "This value indicates Maximum Power per PA per antenna. Value unit is dBm.";
    }

    leaf min-power-per-pa-antenna {
      type decimal64 {
        fraction-digits 4;
      }
      description
        "This value indicates Minimum Power per PA per antenna. Value unit is dBm.";
    }

    leaf fronthaul-split-option {
      type u

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
int8 {
        range "7";
      }
      description
        "This value indicates the Fronthaul Split Option, i.e., 2 or 7 in this release.";
    }

    container format-of-iq-sample {
      description
        "Indicates module capabilities about IQ samples";
      uses format-of-iq-sample;
    }

    list ul-mixed-num-required-guard-rbs {
      key "scs-a scs-b";
      description
        "List of required number of guard resource blocks
         for the combination of subcarrier spacing values for downlink";
      uses ul-mixed-num-required-guard-rbs;
    }

    list dl-mixed-num-required-guard-rbs {
      key "scs-a scs-b";
      description
        "List of required number of guard resource blocks
         for the combination of subcarrier spacing values for uplink";
      uses dl-mixed-num-required-guard-rbs;
    }

    leaf energy-saving-by-transmission-blanks {
      type boolean;
      mandatory true;
      description
        "Parameter informs if unit supports energy saving by transmission blanking

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
";
    }

    container eaxcid-grouping-capabilities {
      if-feature "EAXC-ID-GROUP-SUPPORTED";
      description
        "a container with parameters for eaxcid grouping";
      leaf max-num-tx-eaxc-id-groups {
        type uint8;
        description
          "Maximum number of configurable tx-eaxc-id-group supported by O-RU.";
      }

      leaf max-num-tx-eaxc-ids-per-group {
        type uint8;
        description
          "Maximum number of member-tx-eaxc-id in single tx-eaxc-id-group supported by O-RU.";
      }

      leaf max-num-rx-eaxc-id-groups {
        type uint8;
        description
          "the maximum number of groups with the eAxC IDs those are assigned to low-level-rx-links.";
      }

      leaf max-num-rx-eaxc-ids-per-group {
        type uint8;
        description
          "the maximum number of eAxC IDs per rx-eaxc-id-group.";
      }
    }

    leaf dynamic-transport-delay-management-supported {
      type boolean;
      mandatory true;
      description
        "Parameter info

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rms if unit supports dynamic transport delay management through eCPRI Msg 5";
    }

    leaf support-only-unique-ecpri-seqid-per-eaxc {
      type boolean;
      default "false";
      description
        "Parameter informs if O-RU expects unique ecpri sequence id for eAxC_IDs serving
         for UL and DL for the same carrier component.

         Note: If this is set to TRUE, the O-DU can decide to either use different eAxC_IDs for UL and
         DL or can generate unique sequence ID per eAxC_ID.

         TAKE NOTE: This leaf is backwards compatible from an O-RU persepctive BUT an O-RU that
         sets this leaf to TRUE may result in incompatibilities when operating with an O-DU
         designed according to the O-RAN CUS-Plane Specification v02.00, e.g., if the O-DU is
         incapable of using different eAxC values between UL and DL";
    }
  }

  grouping sub-band-info {
    description
      "container for collection of leafs for LAA subband 46";
    list sub-band-frequency-ranges {
      key "s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ub-band";
      description
        "frequency information on a per sub-band basis";
      leaf sub-band {
        type sub-band-string;
        description
          "Sub band when band 46";
      }

      uses sub-band-max-min-ul-dl-frequency;
    }

    leaf number-of-laa-scarriers {
      type uint8;
      description
        "This value indicates the number of LAA secondary carriers supported at O-RU.";
    }

    leaf maximum-laa-buffer-size {
      type uint16;
      description
        "Maximum O-RU buffer size in Kilobytes (KB) per CC. This parameter is
         needed at the O-DU to know how much data can be sent in advance
         and stored at the O-RU to address the LBT uncertainity.";
    }

    leaf maximum-processing-time {
      type uint16;
      units "microseconds";
      description
        "Maximum O-RU Processing time in microseconds at the O-RU to handle the
         received/transmitted packets from/to the O-DU. This parameter is
         needed at the O-DU to determine the time wher

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e it needs to send
         the data to the O-RU.";
    }

    leaf self-configure {
      type boolean;
      description
        "This value indicates that the O-RU can manage the contention window locally. ";
    }
  }

  grouping support-for-dl {
    description
      "Grouping for DL specific parameters";
    leaf max-supported-frequency-dl {
      type uint64;
      description
        "This value indicates Maximum supported downlink frequency. Value unit is Hz.";
    }

    leaf min-supported-frequency-dl {
      type uint64;
      description
        "This value indicates Minimum supported downlink frequency. Value unit is Hz.";
    }

    leaf max-supported-bandwidth-dl {
      type uint64;
      description
        "This value indicates Maximum total downlink bandwidth in module. Value unit is Hz.";
    }

    leaf max-num-carriers-dl {
      type uint32;
      description
        "This value indicates Maximum number of downlink carriers in module.";
    }

    leaf max-carrier-bandwidth-dl {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
type uint64;
      description
        "This value indicates Maximum bandwidth per downlink carrier. Value unit is Hz.";
    }

    leaf min-carrier-bandwidth-dl {
      type uint64;
      description
        "This value indicates Minimum bandwidth per downlink carrier. Value unit is Hz.";
    }

    leaf-list supported-technology-dl {
      type enumeration {
        enum "LTE" {
          description
            "LTE is supported in DL path.";
        }
        enum "NR" {
          description
            "NR is supported in DL path.";
        }
        enum "DSS_LTE_NR" {
          if-feature "DSS_LTE_NR";
          description
            "DSS is supported in the DL, which implicitly means LTE and NR are also
             BOTH supported in the DL.";
        }
      }
      min-elements 1;
      description
        "This list provides information regarding technologies supported in DL path";
    }
  }

  grouping support-for-ul {
    description
      "Grouping for UL specific parameters";
    leaf max-su

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
pported-frequency-ul {
      type uint64;
      description
        "This value indicates Maximum supported uplink frequency. Value unit is Hz.";
    }

    leaf min-supported-frequency-ul {
      type uint64;
      description
        "This value indicates Minimum supported uplink frequency. Value unit is Hz.";
    }

    leaf max-supported-bandwidth-ul {
      type uint64;
      description
        "This value indicates Maximum total uplink bandwidth in module. Value unit is Hz.";
    }

    leaf max-num-carriers-ul {
      type uint32;
      description
        "This value indicates Maximum number of uplink carriers in module.";
    }

    leaf max-carrier-bandwidth-ul {
      type uint64;
      description
        "This value indicates Maximum bandwidth per uplink carrier. Value unit is Hz.";
    }

    leaf min-carrier-bandwidth-ul {
      type uint64;
      description
        "This value indicates Minimum bandwidth per uplink carrier. Value unit is Hz.";
    }

    leaf-list supported-technology-ul {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     type enumeration {
        enum "LTE" {
          description
            "LTE is supported in UL path.";
        }
        enum "NR" {
          description
            "NR is supported in UL path.";
        }
        enum "DSS_LTE_NR" {
          if-feature "DSS_LTE_NR";
          description
            "DSS is supported in the UL, which implicitly means LTE and NR are also
             BOTH supported in the UL.";
        }
      }
      min-elements 1;
      description
        "This list provides information regarding technologies supported in UL path";
    }
  }

  grouping band-capabilities {
    description
      "Capabilities that are needed to be defined per each band";
    leaf band-number {
      type uint16;
      description
        "Band number";
    }

    container sub-band-info {
      when "../band-number = '46'";
      if-feature "LAA";
      description
        "container for collection of leafs for LAA subband 46";
      uses sub-band-info;
    }

    uses support-for-dl;

    uses

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
support-for-ul;

    leaf max-num-component-carriers {
      type uint8;
      description
        "maximum number of component carriers supported by the O-RU";
    }

    leaf max-num-bands {
      type uint16;
      description
        "maximum number of bands supported by the O-RU";
    }

    leaf max-num-sectors {
      type uint8;
      description
        "maximum number of sectors supported by the O-RU";
    }

    leaf max-power-per-antenna {
      type decimal64 {
        fraction-digits 4;
      }
      description
        "This value indicates Maximum Power per band per antenna. Value unit is dBm.";
    }

    leaf min-power-per-antenna {
      type decimal64 {
        fraction-digits 4;
      }
      description
        "This value indicates Minimum Power per band per antenna. Value unit is dBm.";
    }

    leaf codebook-configuration_ng {
      type uint8;
      description
        "This parameter informs the precoder codebook_ng that are used for precoding";
    }

    leaf codebook-configurat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ion_n1 {
      type uint8;
      description
        "This parameter informs the precoder codebook_n1 that are used for precoding";
    }

    leaf codebook-configuration_n2 {
      type uint8;
      description
        "This parameter informs the precoder codebook_n2 that are used for precoding";
    }
  }

  container module-capability {
    description
      "module capability object responsible for providing module capability.";
    container ru-capabilities {
      config false;
      description
        "Structure representing set of capabilities.";
      uses ru-capabilities;
    }

    list band-capabilities {
      key "band-number";
      config false;
      description
        "Capabilities that are needed to be defined per each band";
      uses band-capabilities;
    }

    container rw-sub-band-info {
      if-feature "LAA";
      description
        "config true leafrefs for use as constraints for config true leafs";
      leaf rw-number-of-laa-scarriers {
        type leafref {
          path

[INF]: LN: Session 1: sending message:

#572


[INF]: LN: Session 1: sending message:
"/module-capability/band-capabilities/sub-band-info/number-of-laa-scarriers";
          require-instance false;
        }
        description
          "This value indicates the number of LAA secondary carriers supported at O-RU.";
      }

      leaf rw-self-configure {
        type leafref {
          path "/module-capability/band-capabilities/sub-band-info/self-configure";
          require-instance false;
        }
        description
          "This value indicates that the O-RU can manage the contention window locally.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="61"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-mplane-int</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-mplane-int" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="61"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-mplane-int {
  yang-version 1.1;
  namespace "urn:o-ran:mplane-interfaces:1.0";
  prefix o-ran-mplane-int;

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-interfaces {
    prefix if;
  }

  import o-ran-interfaces {
    prefix o-ran-int;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for managng the O-RAN Radio Unit
     management plane interface.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIA

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
L, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contribut

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2019-07-03 {
    description
      "version 1.1.0

       1) enabling NETCONF clients to be configured.
       2) shifting new container to correct position
       3) backward compatible changes to introduce groupings";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  typedef vlan-id {
    type uint16 {
      range "1..4094";
    }
    description
      "Type definition representing a single-tagged VLAN";
  }

  grouping mplane-group {
    container searchable-mplane-access-vlans-info {
      description
        "These parameters shall be stored by the equipment in reset persistant memory
         to enable it to be re-used to optimize VALN discovery procerdures.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
leaf-list searchable-access-vlans {
        type vlan-id;
        description
          "A list of access VLANs that may be operational on the transport
           network. Can be used by the equipment to optimize its VLAN searching - for
           M-plane operations.";
      }

      container vlan-range {
        description
          "the range of VLAN IDs that may be configured for M-Plane";
        leaf lowest-vlan-id {
          type vlan-id;
          description
            "Value of this parameter informs equipment about lowest VID to be used
             in VLAN scan procedure";
        }

        leaf highest-vlan-id {
          type vlan-id;
          description
            "Value of this parameter informs about highest VID to be used
             in VLAN scan procedure";
        }
      }
    }

    container m-plane-interfaces {
      description
        "information concerning m-plane interfaces";
      list m-plane-sub-interfaces {
        key "interface-name sub-interface";
        descript

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ion
          "list of m-plane information";
        leaf interface-name {
          type leafref {
            path "/if:interfaces/if:interface/if:name";
          }
          description
            "the name of the interface";
        }

        leaf sub-interface {
          type leafref {
            path "/if:interfaces/if:interface[if:name = current()/../interface-name]/o-ran-int:vlan-id";
          }
          description
            "vlans used to communicate with management plane servers.";
        }

        container client-info {
          config false;
          description
            "the NETCONF client information, discovered by DHCP or manually
             configured during installation.";
          list mplane-ipv4-info {
            key "mplane-ipv4";
            description
              "list of IPv4 NETCONF clients";
            leaf mplane-ipv4 {
              type inet:ipv4-address;
              description
                "The IPv4 address of M-Plane client discovered by the O-RU


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
                 or manually configured.";
            }

            leaf port {
              type inet:port-number;
              description
                "The call home port number discovered or manually configured.";
            }
          }

          list mplane-ipv6-info {
            key "mplane-ipv6";
            description
              "list of IPv6 NETCONF clients";
            leaf mplane-ipv6 {
              type inet:ipv6-address;
              description
                "The IPv6 address of M-Plane client discovered by the O-RU
                 or manually configured.";
            }

            leaf port {
              type inet:port-number;
              description
                "The call home port number discovered or manually configured.";
            }
          }

          leaf-list mplane-fqdn {
            type inet:domain-name;
            description
              "The discovered FQDN(s) of M-Plane client(s).";
          }
        }
      }

      container m-plane-ssh-p

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
orts {
        description
          "leafs for managing SSH ports";
        leaf call-home-ssh-port {
          type inet:port-number;
          default "4334";
          description
            "The configured call home server port number";
        }

        leaf server-ssh-port {
          type inet:port-number;
          default "830";
          description
            "The configured SSH server port number";
        }
      }
    }

    container configured-client-info {
      description
        "the NETCONF client information that may be configured by another
         NETCONF client. These clients are reported independently from clients
         manually configured or discovered using DHCP.";
      list mplane-ipv4-info {
        key "mplane-ipv4";
        description
          "list of IPv4 NETCONF clients";
        leaf mplane-ipv4 {
          type inet:ipv4-address;
          description
            "The IPv4 address of configured M-Plane client.";
        }

        leaf port {
          type inet

[INF]: LN: Session 1: sending message:

#841


[INF]: LN: Session 1: sending message:
:port-number;
          description
            "The configured call home port number.";
        }
      }

      list mplane-ipv6-info {
        key "mplane-ipv6";
        description
          "list of IPv6 NETCONF clients";
        leaf mplane-ipv6 {
          type inet:ipv6-address;
          description
            "The IPv6 address of configured M-Plane client..";
        }

        leaf port {
          type inet:port-number;
          description
            "The configured call home port number.";
        }
      }

      leaf-list mplane-fqdn {
        type inet:domain-name;
        description
          "The configured FQDN(s) of M-Plane client(s).";
      }
    }
  }

  container mplane-info {
    description
      "top level container for management plane information";
    uses mplane-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="62"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-interfaces</identifier><version>2020-04-17</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-interfaces" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="62"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-interfaces {
  yang-version 1.1;
  namespace "urn:o-ran:interfaces:1.0";
  prefix o-ran-int;

  import ietf-inet-types {
    prefix inet;
  }

  import iana-if-type {
    prefix ianaift;
  }

  import ietf-interfaces {
    prefix if;
  }

  import ietf-ip {
    prefix ip;
  }

  import ietf-hardware {
    prefix hw;
  }

  import ietf-yang-types {
    prefix yang;
  }

  import iana-hardware {
    prefix ianahw;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for managng the O-RAN
     interfaces.

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-04-17 {
    description
      "version 1.2.0

       1) updated descriptions to clarify operation when vlan-tagging is false";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 1.1.0

       1) increasing max elements for user plane DSCP markings to 64
       2) re-organizing layout to facilitate cross-WG adoption, whilst ensuring
       nodes are syntactically and semantically equivalent";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature UDPIP-BASED-CU-PLANE {
    descriptio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n
      "This feature indicates that the RU supports the UDP/IP based transport
       for the CU plane.";
  }

  feature ALIASMAC-BASED-CU-PLANE {
    description
      "This feature indicates that the RU supports the alias MAC address
       based transport for the CU plane.";
  }

  typedef pcp {
    type uint8 {
      range "0..7";
    }
    description
      "Priority Code Point. PCP is a 3-bit field that refers to the
       class of service applied to a VLAN tagged frame.  The
       field specifies a priority value between 0 and 7, these values
       can be used by quality of service (QoS) to prioritize
       different classes of traffic.";
    reference
      "IEEE 802.1Q-2014: Virtual Bridged Local Area Networks";
  }

  grouping cos-marking {
    description
      "Configuration data for CU Plane ethernet CoS marking.
       This grouping is only applicable to an interface when vlan-tagging is
       set to TRUE for that interface. In other cases, it may be ignored.";
    container class-of-servi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ce {
      description
        "CoS Configuration";
      leaf u-plane-marking {
        type pcp;
        default "7";
        description
          "Marking used for default u-plane flows.
           7 represents highest priority for u-plane marking";
      }

      leaf c-plane-marking {
        type pcp;
        default "7";
        description
          "7 represents highest priority for c-plane marking";
      }

      leaf m-plane-marking {
        type pcp;
        default "2";
        description
          "2 represents highest excellent effort for m-plane marking";
      }

      leaf s-plane-marking {
        type pcp;
        default "7";
        description
          "7 represents highest priority for s-plane marking";
      }

      leaf other-marking {
        type pcp;
        default "1";
        description
          "1 represents best effort for other marking";
      }

      list enhanced-uplane-markings {
        key "up-marking-name";
        max-elements 4;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "list of mappings for enhanced (non-default) u-plane markings";
        leaf up-marking-name {
          type string;
          description
            "The name of the marking";
        }

        leaf enhanced-marking {
          type pcp;
          description
            "the enhanced u-plane marking";
        }
      }
    }
  }

  grouping dscp-marking {
    description
      "Configuration data for CU Plane DSCP marking";
    container diffserv-markings {
      description
        "DSCP Configuration";
      leaf u-plane-marking {
        type inet:dscp;
        default "46";
        description
          "Marking used for default u-plane flows.
           46 represents expedited forwarding";
      }

      leaf c-plane-marking {
        type inet:dscp;
        default "46";
        description
          "46 represents expedited forwarding";
      }

      leaf s-plane-marking {
        type inet:dscp;
        default "46";
        description
          "46 represents expedited forwarding";
      }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     leaf other-marking {
        type inet:dscp;
        default "0";
        description
          "0 represents best effort forwarding";
      }

      list enhanced-uplane-markings {
        key "up-marking-name";
        max-elements 64;
        description
          "list of mappings for enhanced (non-default) u-plane markings";
        leaf up-marking-name {
          type string;
          description
            "The name of the marking";
        }

        leaf enhanced-marking {
          type inet:dscp;
          description
            "the enhanced u-plane marking";
        }
      }
    }
  }

  augment "/if:interfaces/if:interface" {
    when "if:type = 'ianaift:ethernetCsmacd'" {
      description
        "Applies to Ethernet interfaces";
    }
    description
      "Augment the interface model with parameters for
       base Ethernet interface";
    leaf l2-mtu {
      type uint16 {
        range "64 .. 65535";
      }
      units "bytes";
      default "1500";
      description
        "The

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 maximum size of layer 2 frames that may be transmitted
         or received on the interface (excluding any FCS overhead).
         For Ethernet interfaces it also excludes the
         4-8 byte overhead of any known (i.e. explicitly matched by
         a child sub-interface) 801.1Q VLAN tags.";
    }

    leaf vlan-tagging {
      type boolean;
      default "true";
      description
        "Indicates if VLAN tagging is used.
         Default true is used to enable equipment to autonomously discover that
         it is connected to a trunk port.

         This may be set to false, for example, when the O-RU is directly
         connected to the O-DU. In such cases, native Ethernet frames may be
         used across the O-RAN interface, i.e., any PCP markings defined
         in the cos-markings grouping are NOT used by the O-RU and any default
         value or configured value using those leafs may be ignored by the O-RAN
         equipment.";
    }

    uses cos-marking;
  }

  augment "/if:interfaces/if

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
:interface" {
    when "if:type = 'ianaift:l2vlan'";
    description
      "augments for VLAN definition";
    leaf base-interface {
      type if:interface-ref;
      must "/if:interfaces/if:interface[if:name = current()]/o-ran-int:vlan-tagging = 'true'" {
        description
          "The base interface must have VLAN tagging enabled.";
      }
      description
        "The base interface for the VLAN sub-interafce.";
    }

    leaf vlan-id {
      type uint16 {
        range "1..4094";
      }
      description
        "The VLAN-ID.";
    }
  }

  augment "/if:interfaces/if:interface" {
    when "(if:type = 'ianaift:ethernetCsmacd') or\n(if:type = 'ianaift:l2vlan')" {
      description
        "Applies to ethernetCsmacd and l2vlan interfaces";
    }
    description
      "Augment the interface model with parameters for all
       both ethernetCsmacd and l2vlan interfaces.";
    leaf last-cleared {
      type yang:date-and-time;
      config false;
      description
        "Timestamp of the last time th

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e interface counters were
         cleared.";
    }
  }

  augment "/if:interfaces/if:interface/ip:ipv4" {
    description
      "augments for IPv4 based M-Plane transport";
    leaf m-plane-marking {
      type inet:dscp;
      default "18";
      description
        "18 represents AF21 or 'immediate traffic'";
    }
  }

  augment "/if:interfaces/if:interface/ip:ipv6" {
    description
      "augments for IPv6 based M-Plane transport";
    leaf m-plane-marking {
      type inet:dscp;
      default "18";
      description
        "18 represents AF21 or 'immediate traffic'";
    }
  }

  augment "/if:interfaces/if:interface" {
    when "if:type = 'ianaift:ethernetCsmacd'" {
      description
        "Applies to WG4 Ethernet interfaces for alias MAC based CU-Plane";
    }
    if-feature "ALIASMAC-BASED-CU-PLANE";
    description
      "Augment the interface model with parameters for
       base Ethernet interface";
    leaf-list alias-macs {
      type yang:mac-address;
      description
        "Augments inte

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rfaces with range of alias MAC addresses.";
    }
  }

  augment "/if:interfaces/if:interface" {
    when "(if:type = 'ianaift:ethernetCsmacd') or\n(if:type = 'ianaift:l2vlan')" {
      description
        "Applies to ethernetCsmacd and l2vlan interfaces";
    }
    description
      "Augment the interface model with parameters for all
       both ethernetCsmacd and l2vlan interfaces.";
    leaf mac-address {
      type yang:mac-address;
      description
        "The MAC address of the interface.";
    }

    container port-reference {
      description
        "a port reference used by other O-RAN modules";
      leaf port-name {
        type leafref {
          path "/hw:hardware/hw:component/hw:name";
        }
        must "derived-from-or-self(deref(current())/../hw:class, 'ianahw:port')";
        description
          "O-RAN interfaces use a reference to a physical port component.

           In this case, the component name referenced must be of class type
           port, i.e., when /hw:hardware/hw:c

[INF]: LN: Session 1: sending message:

#950


[INF]: LN: Session 1: sending message:
omponent/hw:class is derived from
           ianahw:port";
      }

      leaf port-number {
        type uint8;
        description
          "A number allocated by the server which identifies a port.
           Port number value is 0 to N-1 where N is number of ports
           in the device.

           This value is fixed for the lifetime of the equipment, i.e., cannot be
           changed during equipment reboots.";
      }
    }
  }

  augment "/if:interfaces/if:interface/ip:ipv4" {
    if-feature "UDPIP-BASED-CU-PLANE";
    description
      "augments for IPv4 based CUS transport";
    uses dscp-marking;
  }

  augment "/if:interfaces/if:interface/ip:ipv6" {
    if-feature "UDPIP-BASED-CU-PLANE";
    description
      "augments for IPv6 based CUS transport";
    uses dscp-marking;
  }

  rpc reset-interface-counters {
    description
      "Management plane triggered restart of the interface counters.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="63"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-operations</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-operations" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="63"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-operations {
  yang-version 1.1;
  namespace "urn:o-ran:operations:1.0";
  prefix o-ran-ops;

  import ietf-yang-types {
    prefix yang;
  }

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  import ietf-hardware {
    prefix hw;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG model used for O-RAN operations.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENT

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
AL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2019-07-03 {
    description
      "version 2.0.0

       1) added timezone-name
       2) added ru-instance-id
       3) backward compatible changes to introduce groupings.";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  typedef timezone-name {
    type string;
    description
      "A time zone name as used by the Time Zone Database,
       sometimes referred to as the 'Olson Database'.

       The complete set of valid values is defined in
       https://www.iana.org/time-zones.

       The exact set of supported values is an
       implementation-specific matter.";
    reference
      "RFC 6557: Procedures for Maintaining the Time Zone Database
       IAN

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
A Time Zone Database https://www.iana.org/time-zones ";
  }

  typedef version {
    type string {
      pattern "[0-9]+(\\.[0-9]+){1,2}";
    }
    description
      "this type definition is used to represent the version of the WG4
       fronthaul interface.";
  }

  grouping operational-group {
    container declarations {
      config false;
      description
        "WG4 Specific Declarations of supported version of standards";
      leaf ru-instance-id {
        type string;
        must "re-match(current(), concat(/hw:hardware/hw:component/hw:mfg-name,\n'_', /hw:hardware/hw:component/hw:model-name, '_',\n/hw:hardware/hw:component/hw:serial-num ))";
        description
          "a unique instance identifier that may be used to identify a
           particular hardware instance, e.g., when used performing hierarchical
           management via the O-DU.";
      }

      leaf supported-mplane-version {
        type version;
        default "1.0.0";
        description
          "Parameter provides highes

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t M-Plane specification version device is compliant with.";
      }

      leaf supported-cusplane-version {
        type version;
        default "1.0.0";
        description
          "Parameter provides highest CUS-Plane specification version device is compliant with.";
      }

      list supported-header-mechanism {
        key "protocol";
        description
          "list provides information regarding type and version of headers.";
        leaf protocol {
          type enumeration {
            enum "ECPRI" {
              description
                "Indicates that an O-RU supports the ecpri header format
                 for the C/U plane";
            }
            enum "IEEE-1914-3" {
              description
                "Indicates that an O-RU supports the 1914.3 header format
                 for the C/U plane";
            }
          }
          description
            "Transport protocol type.";
        }

        leaf ecpri-concatenation-support {
          when "../protocol = 'ECPRI'

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
";
          type boolean;
          default "false";
          description
            "This leaf is used to indicate whether the O-RU supports the optional
             eCPRI concatenation capability";
        }

        leaf protocol-version {
          type version;
          default "1.0";
          description
            "Header protocol version.";
        }
      }
    }

    container operational-state {
      config false;
      description
        "Operational state for the O-RAN network element";
      leaf restart-cause {
        type enumeration {
          enum "POWER-ON" {
            description
              "Equipment restarted because it was powered on";
          }
          enum "SUPERVISION-WATCHDOG" {
            description
              "Equipment restarted because it's supervision wathcdog timer wasn't reset
               by a NETCONF client (inferring loss of NETCONF connectivity)";
          }
          enum "MPLANE-TRIGGERED-RESTART" {
            description
              "Equi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
pment restarted because of an M-plane issued  rpc";
          }
          enum "SOFTWARE-FAILURE" {
            description
              "Equipment restarted because of software failure";
          }
          enum "OTHER-WATCHDOG-TIMER" {
            description
              "Equipment restarted because of some other non NETCONF watchdog timer";
          }
          enum "UNKNOWN" {
            description
              "The restart reason for the Equipment is unknown";
          }
        }
        description
          "the cause for the last restart of the O-RAN Network Element";
      }

      leaf restart-datetime {
        type yang:date-and-time;
        description
          "The system date and time when the system last restarted.";
      }
    }

    container clock {
      description
        "System date and time properties used by all working groups.";
      leaf timezone-name {
        type timezone-name;
        description
          "An optional TZ database name to use for the system,


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       such as 'Europe/Stockholm'

           Time zone name is an informative leaf and is NOT used in the
           managed element to convert local time zone.

           The managed element may include time zone name in measurement or
           fault data.";
      }

      leaf timezone-utc-offset {
        type int16 {
          range "-720 .. 840";
        }
        units "minutes";
        default "0";
        description
          "The number of minutes to add to UTC time to
           identify the time zone for this system.  For example,
           'UTC - 8:00 hours' would be represented as '-480'.";
      }
    }

    leaf re-call-home-no-ssh-timer {
      type uint16;
      units "seconds";
      default "60";
      description
        "A common timer used by the O-RAN equipment to trigger the repeated call
         home procedure to all identified call home servers to which the O-RAN
         equipment has not already an established SSH connection.

         A value of 0 means that the O-RAN equi

[INF]: LN: Session 1: sending message:

#477


[INF]: LN: Session 1: sending message:
pment shall disable operation
         of the timer triggered NETCONF call home procedure.";
    }
  }

  container operational-info {
    description
      "a collection of operational infor for the O-RU";
    uses operational-group;
  }

  rpc reset {
    nacm:default-deny-all;
    description
      "Management plane triggered restart of the radio unit.
       A server SHOULD send an rpc reply to the client before
       restarting the system.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="64"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-hardware</identifier><version>2020-02-19</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-hardware" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="64"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-hardware {
  yang-version 1.1;
  namespace "urn:o-ran:hardware:1.0";
  prefix o-ran-hw;

  import ietf-hardware {
    prefix hw;
  }

  import iana-hardware {
    prefix ianahw;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for managng the O-RAN hardware.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOO

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
DS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
permission.";

  revision 2020-02-19 {
    description
      "version 3.0.0

       1) added new leaf to indicate whether O-RU supports dying gasp";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 1.1.0

       1) added new identities to accommodate cross working group use of
       o-ran-hardware and assoicated set of augmentations that are backwards
       compatible to version 1.0.0";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature ENERGYSAVING {
    description
      "Indicates that the Radio Unit supports energy saving state.";
  }

  identity O-RAN-RADIO {
    base ianahw:module;
    description
      "Module used as it represents a self-contained sub-system
       used in /hw:/hardware/hw:component/hw:class to represent
       an O-RAN

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
RU";
  }

  identity O-RAN-HW-COMPONENT {
    base ianahw:module;
    description
      "Module used as it represents a self-contained sub-system
       used in /hw:/hardware/hw:component/hw:class to represent
       any O-RAN hardware component";
  }

  identity O-DU-COMPONENT {
    base O-RAN-HW-COMPONENT;
    description
      "Used in /hw:/hardware/hw:component/hw:class to represent
       any O-RAN defined O-DU hardware component";
  }

  identity O-RU-COMPONENT {
    base O-RAN-HW-COMPONENT;
    description
      "Used in /hw:/hardware/hw:component/hw:class to represent
       any O-RAN defined O-RU hardware component, including a stand-alone
       O-RU or an O-RU component integrated into a multi-module system.";
  }

  typedef energysaving-state {
    type enumeration {
      enum "UNKNOWN" {
        description
          "The Radio Unit is unable to report energy saving state.";
      }
      enum "SLEEPING" {
        description
          "The Radio Unit is in a sleep state. The NETCONF management

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
plane
           connection is functioning. Other functions and hardware which are
           not needed for management plane may be in energy saving mode.";
      }
      enum "AWAKE" {
        description
          "The Radio Unit is not in an energy saving state.";
      }
    }
    description
      "new typedef since ietf-hardware only covers pwer-state
       for redundancy purposes and not power saving operations.";
  }

  typedef availability-type {
    type enumeration {
      enum "UNKNOWN" {
        description
          "The Radio Unit is unable to report its availability state.";
      }
      enum "NORMAL" {
        description
          "The equipment is functioning correctly.";
      }
      enum "DEGRADED" {
        description
          "The equipment may be reporting a major alarm or may be reporting a critical
           alarm that is only impacting one or more subcomponent, but where the
           equipment's implementation permit it to continue operation (server traffic)
           in a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 degraded state.

           Used for example, when the equipment has M identical sub-components and
           when a critical alarm is imapcting only N subcomponents, where N&lt;M.";
      }
      enum "FAULTY" {
        description
          "The (sub-)components impacted by the critical alarm(s) impact the
           ability of the equipment to continue operation (serve traffic).";
      }
    }
    description
      "Equipment's availability-state is derived by matching active faults
       and their impact to module's operation and enables an equipment to indicate
       that even though it may have one or more critical alarms, it can continue
       to serve traffic.";
  }

  augment "/hw:hardware/hw:component" {
    when "(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-RADIO')) or\n(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-HW-COMPONENT'))";
    description
      "New O-RAN parameters for o-ran hardware";
    container label-content {
      config false;
      description
        "Which set of at

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tributes are printed on the Radio Unit's label";
      leaf model-name {
        type boolean;
        description
          "indicates whether model-name is included on the equipment's label";
      }

      leaf serial-number {
        type boolean;
        description
          "indicates whether serial number is included on the equipment's label";
      }
    }

    leaf product-code {
      type string;
      config false;
      mandatory true;
      description
        "O-RAN term that is distinct from model-name in ietf-hardware.";
    }

    leaf energy-saving-enabled {
      if-feature "ENERGYSAVING";
      type boolean;
      default "false";
      config true;
      description
        "This parameter can enable O-RAN unit to be switched to energy
         saving mode.
         TRUE indicates to switch the energy saving mode.
         FALSE indicates to cancel the energy saving mode.
         At the energy saving mode, all power of whole O-RAN unit becomes
         lowest level whereas M-plane is s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
till available";
    }

    leaf dying-gasp-support {
      type boolean;
      default "false";
      config false;
      description
        "indicates whether the O-RU supports the dying gasp
         capability";
    }
  }

  augment "/hw:hardware/hw:component" {
    when "(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-RADIO')) or\n(derived-from-or-self(hw:class, 'ianahw:port')) or\n(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-HW-COMPONENT'))";
    description
      "New O-RAN parameters for o-ran naming";
    leaf o-ran-name {
      type leafref {
        path "/hw:hardware/hw:component/hw:name";
      }
      must "re-match(current(),'[a-zA-Z0-9][a-zA-Z0-9\\.\\-_]{0,253}[a-zA-Z0-9]')" {
        error-message
          "Name must match pattern and length.";
      }
      mandatory true;
      description
        "O-RAN name needed to bind and match with the name of hw element,
         to be compliant with O-RAN naming convention.";
    }
  }

  augment "/hw:hardware/hw:component/hw:state" {
    when

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "(derived-from-or-self(../hw:class, 'o-ran-hw:O-RAN-RADIO')) or\n(derived-from-or-self(../hw:class, 'o-ran-hw:O-RAN-HW-COMPONENT'))";
    description
      "new O-RAN defined state";
    leaf power-state {
      if-feature "ENERGYSAVING";
      type energysaving-state;
      config false;
      description
        "The current power saving state for this component.
         Note - hw:/hardware/compnent/state/standby-state defined in RFC 4268 is
         used for redundancy purposes and not power saving operations.";
    }

    leaf availability-state {
      type availability-type;
      config false;
      description
        "Equipment's availability-state is derived by matching active faults
         and their impact to module's operation and enables an equipment to indicate
         that even though it may have one or more critical alarms, it can continue
         to serve traffic.";
    }
  }

  augment "/hw:hardware-state-oper-enabled" {
    description
      "new availability state";
    leaf availabi

[INF]: LN: Session 1: sending message:

#526


[INF]: LN: Session 1: sending message:
lity-state {
      type leafref {
        path "/hw:hardware/hw:component/hw:state/o-ran-hw:availability-state";
      }
      description
        "The availability-state of the O-RU.";
    }
  }

  augment "/hw:hardware-state-oper-disabled" {
    description
      "new availability state";
    leaf availability-state {
      type leafref {
        path "/hw:hardware/hw:component/hw:state/o-ran-hw:availability-state";
      }
      description
        "The availability-state of the O-RU.";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="65"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-software-management</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-software-management" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="65"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-software-management {
  yang-version 1.1;
  namespace "urn:o-ran:software-management:1.0";
  prefix o-ran-swm;

  import ietf-inet-types {
    prefix inet;
    revision-date 2013-07-15;
  }

  import ietf-hardware {
    prefix hw;
  }

  import o-ran-hardware {
    prefix o-ran-hw;
  }

  import o-ran-file-management {
    prefix o-ran-fm;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines operations and configuration for the management of software packages.
     This module is derived out of opencpe-firmware-mgmt@2014-02-06.yang

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2019-07-03 {
    description
      "version 1.0.2

       1) backward compatible changes to correct sFTP Server Authentication .
       2) simplifying file management and authentication to reuse from o-ran-file-management module
       3) minor fixes according to lack of descriptions
       4) removal of not used grouping
       5) backward compatible changes to introduce groupings.";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping slot-group {
    description
      "Contains information about each software slot and its

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
content.";
    list software-slot {
      key "name";
      min-elements 2;
      description
        "Information about available software-slots and their software.";
      leaf name {
        type string;
        description
          "Name of the software package. This shall be unique to identify the software-slot.";
      }

      leaf status {
        type enumeration {
          enum "VALID" {
            description
              "Slot Contains software build considered as proven valid";
          }
          enum "INVALID" {
            description
              "software build is not currently used by O-RU. The software is considered by O-RU as damaged (e.g. wrong CRC)";
          }
          enum "EMPTY" {
            description
              "W slot does not contain software package.";
          }
        }
        config false;
        mandatory true;
        description
          "Indicates the status of the software slot";
      }

      leaf active {
        type boolean;
        must "../stat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
us = 'VALID'";
        config false;
        description
          "informs if software stored in particular slot is activated at the moment";
      }

      leaf running {
        type boolean;
        must "../status = 'VALID'";
        config false;
        description
          "informs if software stored in particular slot is used at the moment";
      }

      leaf access {
        type enumeration {
          enum "READ_ONLY" {
            description
              "slot intended only for factory software,
               activation of such software slot means getting back to factory defaults";
          }
          enum "READ_WRITE" {
            description
              "slot used for updating software";
          }
        }
        default "READ_WRITE";
        config false;
        description
          "Indicates the writability of the slot.
           A Read-Only software slot is one which has a factory installed software-slot";
      }

      leaf product-code {
        type leafref {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 path "/hw:hardware/hw:component/o-ran-hw:product-code";
        }
        config false;
        description
          "product code provided by the vendor, specific to the product. This is derived from manifest file.";
      }

      leaf vendor-code {
        type string {
          length "1..2";
        }
        config false;
        description
          "Unique code of the vendor. This is derived from manifest file.";
      }

      leaf build-id {
        type string;
        config false;
        description
          "Identity associated with the software build. This is derived from manifest file.";
      }

      leaf build-name {
        type string;
        config false;
        description
          "Name of the build. This is derived from manifest file.";
      }

      leaf build-version {
        type string;
        description
          "The vendor-specific version string of the software build.";
      }

      list files {
        key "name";
        config false;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     "List of all the files present in the software package.";
        leaf name {
          type string;
          description
            "Name of the file installed in the slot.";
        }

        leaf version {
          type string;
          description
            "Version of the file installed in the slot";
        }

        leaf local-path {
          type string;
          mandatory true;
          description
            "Complete path of the file stored locally";
        }

        leaf integrity {
          type enumeration {
            enum "OK" {
              description
                "OK - indicates that file integrity is correct";
            }
            enum "NOK" {
              description
                "NOK - indicates corrupted file";
            }
          }
          config false;
          description
            "Result of the file integrity check (checksum calculation) during installation.";
        }
      }
    }
  }

  grouping download-input {
    description
      "

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Grouping for sw download rpc input";
    leaf remote-file-path {
      type inet:uri;
      mandatory true;
      description
        "URI of the software image including username.
         The following format is possible:
         sftp://&lt;username&gt;@&lt;host&gt;[:&lt;port&gt;]/path";
    }

    uses o-ran-fm:credential-information;
  }

  grouping download-output {
    description
      "Grouping for sw download rpc output";
    leaf status {
      type enumeration {
        enum "STARTED" {
          description
            "Operation has been started without error.";
        }
        enum "FAILED" {
          description
            "Operation cannot be started because of error, more detailed information can be found in error-message.";
        }
      }
      mandatory true;
      description
        "Status of the software files download";
    }

    leaf error-message {
      when "../status = 'FAILED'";
      type string;
      description
        "Detailed error Message when the status is faile

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d.";
    }

    leaf notification-timeout {
      type int32;
      units "seconds";
      default "30";
      description
        "Notification timeout is the time NETCONF client shall
         wait for a 'download-event' notification from O-RU. If there is no
         'download-event' notification received within notification-timeout,
         NETCONF client shall assume the download timeout/failure, and follow necessary steps.";
    }
  }

  grouping install-input {
    description
      "Grouping for sw installation rpc input";
    leaf slot-name {
      type leafref {
        path "/software-inventory/software-slot/name";
      }
      must "/software-inventory/software-slot[name = current()][active = 'false' and running = 'false']" {
        error-message
          "software-install may be requested only against active::false and running::false slot!";
      }
      mandatory true;
      description
        "software-slot to which the software shall be installed to.";
    }

    leaf-list file-names {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     type string;
      description
        "Names of the files within software package to be installed";
    }
  }

  grouping install-output {
    description
      "Grouping for sw installation rpc output";
    leaf status {
      type enumeration {
        enum "STARTED" {
          description
            "Operation has been started without error.";
        }
        enum "FAILED" {
          description
            "Operation cannot be started because of error, more detailed information can be found in error-message.";
        }
      }
      mandatory true;
      description
        "Status of the software package install.";
    }

    leaf error-message {
      when "../status = 'FAILED'";
      type string;
      description
        "Detailed error Message when the status is failed.";
    }
  }

  grouping activate-input {
    description
      "Grouping for sw activation rpc input";
    leaf slot-name {
      type leafref {
        path "/software-inventory/software-slot/name";
      }
      must "/

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
software-inventory/software-slot[name = current()][status = 'VALID']" {
        error-message
          "software activation may be requested only on VALID slot!";
      }
      mandatory true;
      description
        "Slot name on which software has to be activated.";
    }
  }

  grouping activate-output {
    description
      "Grouping for sw activation rpc output";
    leaf status {
      type enumeration {
        enum "STARTED" {
          description
            "Operation has been started without error.";
        }
        enum "FAILED" {
          description
            "Operation cannot be started because of error, more detailed information can be found in error-message.";
        }
      }
      mandatory true;
      description
        "Status of the software files activation";
    }

    leaf error-message {
      when "../status = 'FAILED'";
      type string;
      description
        "Detailed error Message when the status is failed.";
    }

    leaf notification-timeout {
      type int3

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
2;
      units "seconds";
      default "30";
      description
        "Timeout on client waiting for the activate event";
    }
  }

  grouping download-notification {
    description
      "Grouping for notification event structure for download completion";
    leaf file-name {
      type string;
      mandatory true;
      description
        "File name of downloaded software package";
    }

    leaf status {
      type enumeration {
        enum "COMPLETED" {
          description
            "Operation completed succesfully";
        }
        enum "AUTHENTICATION_ERROR" {
          description
            "source available, wrong credentials";
        }
        enum "PROTOCOL_ERROR" {
          description
            "SFTP errors";
        }
        enum "FILE_NOT_FOUND" {
          description
            "source not available.";
        }
        enum "APPLICATION_ERROR" {
          description
            "Application related errors";
        }
        enum "TIMEOUT" {
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      "Timeout waiting for download";
        }
      }
      description
        "Status of finished operation execution";
    }

    leaf error-message {
      when "../status != 'COMPLETED'";
      type string;
      description
        "Detailed description of faulty situation";
    }
  }

  grouping install-notification {
    description
      "Grouping for notification event structure for installation completion";
    leaf slot-name {
      type leafref {
        path "/software-inventory/software-slot/name";
      }
      description
        "Name of the slot to which software was installed.";
    }

    leaf status {
      type enumeration {
        enum "COMPLETED" {
          description
            "Operation completed succesfully";
        }
        enum "FILE_ERROR" {
          description
            "operation on the file resulted in in error, disk failure, not enough disk space,
             incompatible file format";
        }
        enum "INTEGRITY_ERROR" {
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "file is corrupted";
        }
        enum "APPLICATION_ERROR" {
          description
            "operation failed due to internal reason";
        }
      }
      description
        "Status of finished operation execution";
    }

    leaf error-message {
      when "../status != 'COMPLETED'";
      type string;
      description
        "Detailed description of faulty situation";
    }
  }

  grouping activation-notification {
    description
      "Grouping for notification event structure for activation completion";
    leaf slot-name {
      type leafref {
        path "/software-inventory/software-slot/name";
      }
      description
        "Name of the slot which was activated";
    }

    leaf status {
      type enumeration {
        enum "COMPLETED" {
          description
            "Operation completed succesfully";
        }
        enum "APPLICATION_ERROR" {
          description
            "Operation finished with error, more details can by found in error-message";
        }
      }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    description
        "Status of finished operation execution";
    }

    leaf return-code {
      type uint8;
      description
        "status code return when the software is tried to activate";
    }

    leaf error-message {
      when "../status != 'COMPLETED'";
      type string;
      description
        "Detailed description of faulty situation";
    }
  }

  container software-inventory {
    config false;
    description
      "Contains information about each software slot and its content.";
    uses slot-group;
  }

  rpc software-download {
    description
      "Rpc needed to perform software download operation.";
    input {
      uses download-input;
    }

    output {
      uses download-output;
    }
  }

  rpc software-install {
    description
      "Install a previously downloaded software package.";
    input {
      uses install-input;
    }

    output {
      uses install-output;
    }
  }

  rpc software-activate {
    description
      "Activate a previously installed software."

[INF]: LN: Session 1: sending message:

#569


[INF]: LN: Session 1: sending message:
;
    input {
      uses activate-input;
    }

    output {
      uses activate-output;
    }
  }

  notification download-event {
    description
      "Notification event structure for download completion";
    uses download-notification;
  }

  notification install-event {
    description
      "Notification event structure for installation completion";
    uses install-notification;
  }

  notification activation-event {
    description
      "Notification event structure for activation completion";
    uses activation-notification;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="66"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-hardware</identifier><version>2020-02-19</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-hardware" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="66"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-hardware {
  yang-version 1.1;
  namespace "urn:o-ran:hardware:1.0";
  prefix o-ran-hw;

  import ietf-hardware {
    prefix hw;
  }

  import iana-hardware {
    prefix ianahw;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for managng the O-RAN hardware.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOO

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
DS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
permission.";

  revision 2020-02-19 {
    description
      "version 3.0.0

       1) added new leaf to indicate whether O-RU supports dying gasp";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 1.1.0

       1) added new identities to accommodate cross working group use of
       o-ran-hardware and assoicated set of augmentations that are backwards
       compatible to version 1.0.0";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature ENERGYSAVING {
    description
      "Indicates that the Radio Unit supports energy saving state.";
  }

  identity O-RAN-RADIO {
    base ianahw:module;
    description
      "Module used as it represents a self-contained sub-system
       used in /hw:/hardware/hw:component/hw:class to represent
       an O-RAN

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
RU";
  }

  identity O-RAN-HW-COMPONENT {
    base ianahw:module;
    description
      "Module used as it represents a self-contained sub-system
       used in /hw:/hardware/hw:component/hw:class to represent
       any O-RAN hardware component";
  }

  identity O-DU-COMPONENT {
    base O-RAN-HW-COMPONENT;
    description
      "Used in /hw:/hardware/hw:component/hw:class to represent
       any O-RAN defined O-DU hardware component";
  }

  identity O-RU-COMPONENT {
    base O-RAN-HW-COMPONENT;
    description
      "Used in /hw:/hardware/hw:component/hw:class to represent
       any O-RAN defined O-RU hardware component, including a stand-alone
       O-RU or an O-RU component integrated into a multi-module system.";
  }

  typedef energysaving-state {
    type enumeration {
      enum "UNKNOWN" {
        description
          "The Radio Unit is unable to report energy saving state.";
      }
      enum "SLEEPING" {
        description
          "The Radio Unit is in a sleep state. The NETCONF management

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
plane
           connection is functioning. Other functions and hardware which are
           not needed for management plane may be in energy saving mode.";
      }
      enum "AWAKE" {
        description
          "The Radio Unit is not in an energy saving state.";
      }
    }
    description
      "new typedef since ietf-hardware only covers pwer-state
       for redundancy purposes and not power saving operations.";
  }

  typedef availability-type {
    type enumeration {
      enum "UNKNOWN" {
        description
          "The Radio Unit is unable to report its availability state.";
      }
      enum "NORMAL" {
        description
          "The equipment is functioning correctly.";
      }
      enum "DEGRADED" {
        description
          "The equipment may be reporting a major alarm or may be reporting a critical
           alarm that is only impacting one or more subcomponent, but where the
           equipment's implementation permit it to continue operation (server traffic)
           in a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 degraded state.

           Used for example, when the equipment has M identical sub-components and
           when a critical alarm is imapcting only N subcomponents, where N&lt;M.";
      }
      enum "FAULTY" {
        description
          "The (sub-)components impacted by the critical alarm(s) impact the
           ability of the equipment to continue operation (serve traffic).";
      }
    }
    description
      "Equipment's availability-state is derived by matching active faults
       and their impact to module's operation and enables an equipment to indicate
       that even though it may have one or more critical alarms, it can continue
       to serve traffic.";
  }

  augment "/hw:hardware/hw:component" {
    when "(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-RADIO')) or\n(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-HW-COMPONENT'))";
    description
      "New O-RAN parameters for o-ran hardware";
    container label-content {
      config false;
      description
        "Which set of at

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tributes are printed on the Radio Unit's label";
      leaf model-name {
        type boolean;
        description
          "indicates whether model-name is included on the equipment's label";
      }

      leaf serial-number {
        type boolean;
        description
          "indicates whether serial number is included on the equipment's label";
      }
    }

    leaf product-code {
      type string;
      config false;
      mandatory true;
      description
        "O-RAN term that is distinct from model-name in ietf-hardware.";
    }

    leaf energy-saving-enabled {
      if-feature "ENERGYSAVING";
      type boolean;
      default "false";
      config true;
      description
        "This parameter can enable O-RAN unit to be switched to energy
         saving mode.
         TRUE indicates to switch the energy saving mode.
         FALSE indicates to cancel the energy saving mode.
         At the energy saving mode, all power of whole O-RAN unit becomes
         lowest level whereas M-plane is s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
till available";
    }

    leaf dying-gasp-support {
      type boolean;
      default "false";
      config false;
      description
        "indicates whether the O-RU supports the dying gasp
         capability";
    }
  }

  augment "/hw:hardware/hw:component" {
    when "(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-RADIO')) or\n(derived-from-or-self(hw:class, 'ianahw:port')) or\n(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-HW-COMPONENT'))";
    description
      "New O-RAN parameters for o-ran naming";
    leaf o-ran-name {
      type leafref {
        path "/hw:hardware/hw:component/hw:name";
      }
      must "re-match(current(),'[a-zA-Z0-9][a-zA-Z0-9\\.\\-_]{0,253}[a-zA-Z0-9]')" {
        error-message
          "Name must match pattern and length.";
      }
      mandatory true;
      description
        "O-RAN name needed to bind and match with the name of hw element,
         to be compliant with O-RAN naming convention.";
    }
  }

  augment "/hw:hardware/hw:component/hw:state" {
    when

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "(derived-from-or-self(../hw:class, 'o-ran-hw:O-RAN-RADIO')) or\n(derived-from-or-self(../hw:class, 'o-ran-hw:O-RAN-HW-COMPONENT'))";
    description
      "new O-RAN defined state";
    leaf power-state {
      if-feature "ENERGYSAVING";
      type energysaving-state;
      config false;
      description
        "The current power saving state for this component.
         Note - hw:/hardware/compnent/state/standby-state defined in RFC 4268 is
         used for redundancy purposes and not power saving operations.";
    }

    leaf availability-state {
      type availability-type;
      config false;
      description
        "Equipment's availability-state is derived by matching active faults
         and their impact to module's operation and enables an equipment to indicate
         that even though it may have one or more critical alarms, it can continue
         to serve traffic.";
    }
  }

  augment "/hw:hardware-state-oper-enabled" {
    description
      "new availability state";
    leaf availabi

[INF]: LN: Session 1: sending message:

#526


[INF]: LN: Session 1: sending message:
lity-state {
      type leafref {
        path "/hw:hardware/hw:component/hw:state/o-ran-hw:availability-state";
      }
      description
        "The availability-state of the O-RU.";
    }
  }

  augment "/hw:hardware-state-oper-disabled" {
    description
      "new availability state";
    leaf availability-state {
      type leafref {
        path "/hw:hardware/hw:component/hw:state/o-ran-hw:availability-state";
      }
      description
        "The availability-state of the O-RU.";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="67"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-file-management</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-file-management" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="67"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-file-management {
  yang-version 1.1;
  namespace "urn:o-ran:file-management:1.0";
  prefix o-ran-file-mgmt;

  import ietf-crypto-types {
    prefix ct;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the configuration and operations for handling upload.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revisi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on 2019-07-03 {
    description
      "version 1.1.0

       1) backward compatible changes to correct sFTP Server Authentication .
       2) minor fixes according to lack of descriptions
       3) backward compatible changes to introduce groupings";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping file-path-grouping {
    description
      "Complete logical path of the file to upload/download
       (no wildcard is allowed) ex : /o-RAN/log/syslog.1";
    leaf local-logical-file-path {
      type string;
      mandatory true;
      description
        "Local logical file path";
    }

    leaf remote-file-path {
      type string;
      mandatory true;
      description
        "URI specifying the remote-file-path on O-DU/NMS.
         Format:sftp://&lt;username&gt;@&lt;host&gt;[:port]/path";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 }
  }

  grouping output-status-grouping {
    description
      "Status grouping";
    leaf status {
      type enumeration {
        enum "SUCCESS" {
          description
            "";
        }
        enum "FAILURE" {
          description
            "";
        }
      }
      description
        "Operation status";
    }

    leaf reject-reason {
      when "../status = 'FAILURE'";
      type string;
      description
        "";
    }
  }

  grouping credential-information {
    description
      "Type of authentication to use for SFTP upload or download.";
    choice credentials {
      description
        "";
      case password {
        container password {
          presence "true";
          description
            "password for O-RU authentication method in use";
          leaf password {
            type string;
            mandatory true;
            description
              "password needed for O-RU authentication.";
          }
        }

        container server {
          descriptio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n
            "Key for sFTP server authentication";
          list keys {
            key "algorithm";
            ordered-by user;
            description
              "List of allowed algorithms with its keys";
            uses ct:public-key-grouping;
          }
        }
      }

      case certificate {
        container certificate {
          presence "true";
          description
            "certificate authentication method in use";
        }
      }
    }
  }

  grouping retrieve-input {
    description
      "Grouping for information retrieval RPC input";
    leaf logical-path {
      type string;
      mandatory true;
      description
        "O-RAN unit of which the files are to be listed.
         ex :  O-RAN/log, o-RAN/PM, O-RAN/transceiver";
    }

    leaf file-name-filter {
      type string;
      description
        "Filter which are to be applied on the result list of file names (* is allowed as wild-card).";
    }
  }

  grouping retrieve-output {
    description
      "Grouping for i

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nformation retrieval RPC output";
    uses output-status-grouping;

    leaf-list file-list {
      when "../status = 'SUCCESS'";
      type string;
      description
        "List of files in the unit with the filter applied.";
    }
  }

  rpc file-upload {
    description
      "File upload over SFTP from equipment to NETCONF client";
    input {
      uses file-path-grouping;

      uses credential-information;
    }

    output {
      uses output-status-grouping;
    }
  }

  rpc retrieve-file-list {
    description
      "List all the files in the logical O-RAN unit (* is allowed as wild-card).";
    input {
      uses retrieve-input;
    }

    output {
      uses retrieve-output;
    }
  }

  rpc file-download {
    description
      "Management plane triggered to generate the download file of O-RU.";
    input {
      uses file-path-grouping;

      uses credential-information;
    }

    output {
      uses output-status-grouping;
    }
  }

  notification file-upload-notification {
    description

[INF]: LN: Session 1: sending message:

#230


[INF]: LN: Session 1: sending message:

      "";
    uses file-path-grouping;

    uses output-status-grouping;
  }

  notification file-download-event {
    description
      "";
    uses file-path-grouping;

    uses output-status-grouping;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="68"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-supervision</identifier><version>2020-01-24</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-supervision" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="68"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-supervision {
  yang-version 1.1;
  namespace "urn:o-ran:supervision:1.0";
  prefix o-ran-supervision;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the configuration data and supervision RPCs that are
     used to detect loss M-Plane connectivity.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specif

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ic prior written permission.";

  revision 2020-01-24 {
    description
      "version 2.0.1

       1) added output string to enable indication if config modification change has failed
       2) corrected model description
       3) removed erroneous text in notification description";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 2.0.0

       1) added leafs for CU plane monitoring
       2) backward compatible changes to introduce groupings";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping watchdog-input {
    leaf supervision-notification-interval {
      type uint16;
      units "seconds";
      default "60";
      description
        "The interval in seconds at which supervision notifications are sent.
         If not specified the def

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ault value of 60 seconds shall apply.";
    }

    leaf guard-timer-overhead {
      type uint16;
      units "seconds";
      default "10";
      description
        "This is overhead added to the supervision timer used to calculate the
         supervision wathcdog timer. i.e.,

         supervision timer = notification timer + guard-timer-overhead

         If not specified the default value of 10 seconds shall apply.

         Failure to send this rpc again within the timeout sets the radio into
         'loss of supervision' state.

         NOTE - The supervision timer MUST not be less that the confimed
         timeout timer (when the feature is supported).

         This type of constraint (using an RPCs input) cannot be formally
         expressed in YANG.";
    }
  }

  grouping watchdog-output {
    leaf next-update-at {
      type yang:date-and-time;
      description
        "Indicates the time when the next supervision notification is expected.";
    }

    leaf error-message {
      type string

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
      description
        "An optional error message, e.g., used when the RPC input attempts to
         modify a locked running configuration.

         Take note, the supervision-notification-interval and guard-timer-overhead
         have default values and so their values can be modified even when a leaf is
         not included in the RPC input.";
    }
  }

  grouping supervision-group {
    container cu-plane-monitoring {
      presence "Indicates O-RU supports timer based cu-plane monitoring interval. If
       this container is NOT present, the opertaion of the O-RU is undefined.";
      description
        "container describing operation of CU plane monitoring";
      leaf configured-cu-monitoring-interval {
        type uint8 {
          range "0..160";
        }
        units "milliseconds";
        default "160";
        description
          "This value corresponds to the configured value of the timer used by
           the O-RU to monitor the C/U plane connection.

           A value of 0 mea

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ns that the O-RU's shall disable its CU plane
           monitoring.

           A NETCONF client should configure the value according to the
           configuration of the PHY layer and/or C/U plane section types
           supported and/or any fault tolerant operation. For example,

           i) when opertaing with an O-DU supporting non-LAA LTE, this value can
           be configured to a value according to the repetition time of
           transmitted reference symbols across the fronthaul interface
           ii) when opertaing with an O-DU supporting C-Plane Section Type 0,
           this value can configured to a value according to the minimum
           repetition interval of section type 0.
           iii) when operating with an O-DU supporting fault tolerant operation,
           this value can be configured according to the fault tolerant heartbeat
           interval ";
      }
    }
  }

  container supervision {
    uses supervision-group;
  }

  rpc supervision-watchdog-reset {
    descript

[INF]: LN: Session 1: sending message:

#301


[INF]: LN: Session 1: sending message:
ion
      "rpc to reset the watchdog timer";
    input {
      uses watchdog-input;
    }

    output {
      uses watchdog-output;
    }
  }

  notification supervision-notification {
    description
      "Notification to indicate that NETCONF management interface is up.";
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="69"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-sync</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-sync" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="69"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-sync {
  yang-version 1.1;
  namespace "urn:o-ran:sync:1.0";
  prefix o-ran-sync;

  import ietf-interfaces {
    prefix if;
  }

  import o-ran-interfaces {
    prefix o-ran-int;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines synchronization mechanism for the O-RAN Equipment.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOO

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
DS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
permission.";

  revision 2019-07-03 {
    description
      "version 1.1.0

       1) backward compatible changes to introduce groupings.";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature GNSS {
    description
      "This feature indicates that the equipment supports integrated GNSS functionality.";
  }

  feature ANTI-JAM {
    description
      "This feature indicates that the equipment supports Anti-jam fuctionality";
  }

  typedef geographic-coordinate-degree {
    type decimal64 {
      fraction-digits 8;
    }
    description
      "Decimal degree (DD) used to express latitude and longitude
       geographic coordinates.";
  }

  grouping sync-group {
    container sync-status {
      config false;
      description
        "Object of this class provides synchronization state of the modu

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
le.";
      leaf sync-state {
        type enumeration {
          enum "LOCKED" {
            description
              "equipment is in the locked mode, as defined in ITU-T G.810";
          }
          enum "HOLDOVER" {
            description
              "equipment clock is in holdover mode";
          }
          enum "FREERUN" {
            description
              "equipment clock isn't locked to an input reference, and is not in the holdover mode";
          }
        }
        mandatory true;
        description
          "State of DU synchronization";
      }

      list supported-reference-types {
        key "item";
        min-elements 1;
        description
          "Type of a synchronization supported source.";
        leaf item {
          type enumeration {
            enum "GNSS" {
              description
                "GPS can be taken as a synchronization source";
            }
            enum "PTP" {
              description
                "Precision Time Protocol can be taken

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
as a synchronization source";
            }
            enum "SYNCE" {
              description
                "Synchronous Ethernet can be taken as a synchronization source";
            }
          }
          mandatory true;
          description
            "supported reference-type";
        }
      }
    }

    container sync-capability {
      config false;
      description
        "Object of this class provides synchronization capabilities of the module.";
      leaf sync-t-tsc {
        type enumeration {
          enum "CLASS_B" {
            description
              "Standard class B accuracy for synchronization is supported by the device";
          }
          enum "ENCHANCED" {
            description
              "Enchanced accuracy for synchronization is supported by the device";
          }
        }
        description
          "When the O-RU supports 802.1CM, this leaf provides information about
           T-TSC capability";
        reference
          "IEEE 802.1CM";
      }
    }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   container ptp-config {
      description
        "This MO defines configuration of Precise Time Protocol.";
      leaf domain-number {
        type uint8;
        default "24";
        description
          "This parameter indicates Domain Number for PTP announce messages.";
      }

      list accepted-clock-classes {
        key "clock-classes";
        description
          "Contains list of PTP acceptable Clock Classes, sorted in the descending order.";
        leaf clock-classes {
          type uint8;
          description
            "PTP Clock Class accepted by the O-RU";
        }
      }

      leaf ptp-profile {
        type enumeration {
          enum "G_8275_1" {
            description
              "Usage of multicast over ethernet";
          }
          enum "G_8275_2" {
            description
              "Usage of unicast over IP";
          }
        }
        default "G_8275_1";
        description
          "Type of profile to be used in ptp setting";
      }

      container g-827

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
5-1-config {
        when "../ptp-profile='G_8275_1'";
        description
          "Container allowing for configuration of G8275.1";
        leaf multicast-mac-address {
          type enumeration {
            enum "FORWARDABLE" {
              description
                "means, that PTP shall use 01-1B-19-00-00-00 destination MAC address";
            }
            enum "NONFORWARDABLE" {
              description
                "means, that PTP shall use 01-80-C2-00-00-0E destination MAC address";
            }
          }
          default "FORWARDABLE";
          description
            "The parameter defines destination MAC address, used by the DU in the egress PTP messages.";
        }

        leaf delay-asymmetry {
          type int16 {
            range "-10000..10000";
          }
          default "0";
          description
            "Defines static phase error in the recovered PTP timing signal to be compensated at the O-RU.
             The error is defined in units of nanoseconds in the

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 range 10 000 ns.";
        }
      }

      container g-8275-2-config {
        when "../ptp-profile='G_8275_2'";
        description
          "Container used for configuration of G8275.2 profile";
        leaf local-ip-port {
          type leafref {
            path "/if:interfaces/if:interface/if:name";
          }
          description
            "Reference to interface name corresponding to IP interface
             used for G.8275.2";
        }

        list master-ip-configuration {
          key "local-priority";
          description
            "The parameter defines list of ip configuration of devices acting as ptp signal source.";
          leaf local-priority {
            type uint8;
            description
              "The parameter defines local priority or underlying master IP address.";
          }

          leaf ip-address {
            type string;
            description
              "the parameter defines master IP address.";
          }
        }

        leaf log-inter-sync-pe

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
riod {
          type int8 {
            range "-7..0";
          }
          description
            "The parameter defines number of sync message during 1 second";
        }

        leaf log-inter-announce-period {
          type int8 {
            range "-3..0";
          }
          description
            "The parameter defines number of announce message during 1 second";
        }
      }
    }

    container ptp-status {
      description
        "ptp status container";
      leaf reporting-period {
        type uint8;
        default "10";
        description
          "This parameter defines minimum period in seconds between reports,
           sent by the NETCONF Client, for parameters in this container.";
      }

      leaf lock-state {
        type enumeration {
          enum "LOCKED" {
            description
              "The integrated ordinary clock is synchronizing to the reference, recovered from PTP flow";
          }
          enum "UNLOCKED" {
            description
              "Th

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e integrated ordinary clock is not synchronizing to the reference, recovered from PTP flow";
          }
        }
        config false;
        description
          "This parameter indicates, whether the integrated ordinary clock is
           synchronizing to the reference, recovered from PTP signal.
           The exact definition when to indicate locked or unlocked is up to specific
           implementation.";
      }

      leaf clock-class {
        type uint8;
        config false;
        description
          "This parameter contains the clock class of the clock, controlled by the O-RU";
      }

      leaf clock-identity {
        type string {
          length "18";
          pattern "0[xX][0-9a-fA-F]{16}";
        }
        config false;
        description
          "This parameter contains identity of the clock,
            according to IEEE 1588-2008 defintion, controlled by the O-RU.
           The string shall be formatted as an 8-octet hex value with the '0x' prefix.";
      }

      leaf

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
partial-timing-supported {
        type boolean;
        config false;
        description
          "Provides information wheter G.8275.2 (partial timing support from network) is supported.";
      }

      list sources {
        key "local-port-number";
        config false;
        description
          "Synchronisation sources";
        leaf local-port-number {
          type leafref {
            path "/if:interfaces/if:interface/o-ran-int:port-reference/o-ran-int:port-number";
          }
          description
            "This is reference to portNumber of ExternalEthernetPort to identify the port,
             where the PTP signal is located.";
        }

        leaf state {
          type enumeration {
            enum "PARENT" {
              description
                "Indicates that this source is the current master clock, i.e. the clock,
                 which the clock, controlled by the Netconf Server, is synchronized to";
            }
            enum "OK" {
              description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          "Indicates that this source is an alternate master, which the clock,
                 controlled by the Netconf Server, can potentially synchronize to,
                 i.e. clock class and priority, announced by the master clock is lower,
                 compared to those of the clock, controlled by the Netconf Server,
                 and and the clock class is accepted";
            }
            enum "NOK" {
              description
                "Indicates that this source is an alternate master, which the clock,
                 controlled by the Netconf Server, has an operational connection to,
                 but the class or priority of the master clock is higher or equal
                 to those of the clock, controlled by the Netconf Server,
                 or the clock class is not accepted";
            }
            enum "DISABLED" {
              description
                "Indicates that this source is an alternate master, which the clock,
                 controlled by the N

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
etconf Server, has no operational connection to";
            }
          }
          description
            "This parameter indicates status of the PTP source";
        }

        leaf two-step-flag {
          type boolean;
          description
            "This parameter reflects status of the twoStepFlag attribute in Sync messages,
             received from the PTP source.";
        }

        leaf leap61 {
          type boolean;
          description
            "This parameter reflects status of the leap61 flag in Announce messages,
             received from the PTP source.
             When true, the last minute of the current UTC day contains 61 seconds.";
        }

        leaf leap59 {
          type boolean;
          description
            "This parameter reflects status of the leap59 flag in Announce messages,
             received from the PTP source.
             When true, the last minute of the current UTC day contains 59 seconds.";
        }

        leaf current-utc-offset-valid {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
        type boolean;
          description
            "This parameter reflects status of the currentUtcOffsetValid flag in
             Announce messages, received from the PTP source.
             When true, the current UTC offset is valid.";
        }

        leaf ptp-timescale {
          type boolean;
          description
            "This parameter reflects status of the ptpTimescale flag in Announce
             messages, received from the PTP source.

             When set, the clock timescale of the grandmaster clock is PTP;
             otherwise, the timescale is ARB (arbitrary)";
        }

        leaf time-traceable {
          type boolean;
          description
            "This parameter reflects status of the timeTraceable flag in Announce
             messages, received from the PTP source.

             When true, the timescale and the currentUtcOffset are traceable to a
             primary reference";
        }

        leaf frequency-traceable {
          type boolean;
          desc

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ription
            "This parameter reflects status of the frequencyTraceable flag in
             Announce messages, received from the PTP source.

             When true, the frequency determining the timescale is traceable to a
             primary reference";
        }

        leaf source-clock-identity {
          type string {
            length "18";
            pattern "0[xX][0-9a-fA-F]{16}";
          }
          description
            "This parameter reflects value of the sourceClockIdentity attribute in
             Announce messages, received from the PTP source.

             The string shall be formatted as an 8-octet hex value with the '0x'
             prefix.";
        }

        leaf source-port-number {
          type uint16;
          description
            "This parameter reflects value of the sourcePortNumber attribute in
             Announce messages, received from the PTP source.";
        }

        leaf current-utc-offset {
          type int16;
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
"The offset between TAI and UTC when the epoch of the PTP system is
             the PTP epoch, i.e., when ptp-timescale is TRUE; otherwise, the value
             has no meaning";
        }

        leaf priority1 {
          type uint8;
          description
            "This parameter reflects value of the priority1 attribute in Announce
             messages, received from the PTP source.";
        }

        leaf clock-class {
          type uint8;
          description
            "This parameter reflects value of the clockClass attribute in
             Announce messages, received from the PTP source.";
        }

        leaf clock-accuracy {
          type uint8;
          description
            "This parameter reflects value of the clockAccuracy attribute in
             Announce messages, received from the PTP source.";
        }

        leaf offset-scaled-log-variance {
          type uint16;
          description
            "This parameter reflects value of the offsetScaledLogVariance


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     attribute in Announce messages, received from the PTP source.";
        }

        leaf priority2 {
          type uint8;
          description
            "This parameter reflects value of the priority2 attribute in Announce
             messages, received from the PTP source.";
        }

        leaf grandmaster-clock-identity {
          type string {
            length "18";
            pattern "0[xX][0-9a-fA-F]{16}";
          }
          description
            "This parameter reflects value of the grandmasterClockIdentity
             attribute in Announce messages, received from the PTP source.

             The string shall be formatted as an 8-octet hex value with the '0x'
             prefix.";
        }

        leaf steps-removed {
          type uint16;
          description
            "This parameter reflects value of the stepsRemoved attribute in
             Announce messages, received from the PTP source.

             It indicates the number of communication paths traversed


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    between the local clock and the grandmaster clock.";
        }

        leaf time-source {
          type uint8;
          description
            "This parameter reflects value of the timeSource attribute in
             Announce messages, received from the PTP source.";
        }
      }
    }

    container synce-config {
      description
        "This container defines the configuration of SyncE";
      leaf-list acceptance-list-of-ssm {
        type enumeration {
          enum "PRC" {
            description
              "PRC";
          }
          enum "PRS" {
            description
              "PRS";
          }
          enum "SSU_A" {
            description
              "SSU_A";
          }
          enum "SSU_B" {
            description
              "SSU_B";
          }
          enum "ST2" {
            description
              "ST2";
          }
          enum "ST3" {
            description
              "ST3";
          }
          enum "ST3E" {
            description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    "ST3E";
          }
          enum "EEC1" {
            description
              "EEC1";
          }
          enum "EEC2" {
            description
              "EEC2";
          }
          enum "DNU" {
            description
              "DNU";
          }
          enum "NONE" {
            description
              "NONE";
          }
        }
        default "PRC";
        description
          "The parameter contains the list of SyncE acceptable SSMs.";
      }

      leaf ssm-timeout {
        type uint16;
        description
          "The parameter contains the value of maximum duration in seconds for which the actual SSM value may be different than configured values.";
      }
    }

    container synce-status {
      description
        "SyncE status container";
      leaf reporting-period {
        type uint8;
        default "10";
        description
          "This parameter defines minimum period in seconds between reports,
           sent by the NETCONF client, for parameters in this

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 container.";
      }

      leaf lock-state {
        type enumeration {
          enum "LOCKED" {
            description
              "The integrated ordinary clock is synchronizing to the reference, recovered from SyncE signal";
          }
          enum "UNLOCKED" {
            description
              "The integrated ordinary clock is not synchronizing to the reference, recovered from SyncE signal";
          }
        }
        config false;
        description
          "This parameter indicates, whether the integrated ordinary clock is
           synchronizing to the reference, recovered from SyncE signal.

           The exact definition when to indicate locked or unlocked is up to
           specific implementation.";
      }

      list sources {
        key "local-port-number";
        config false;
        min-elements 1;
        description
          "This parameter contains characteristics of SyncE sources of the clock, controlled by the O-RU.";
        leaf local-port-number {
          ty

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
pe leafref {
            path "/if:interfaces/if:interface/o-ran-int:port-reference/o-ran-int:port-number";
          }
          description
            "This is reference to portNumber of ExternalEthernetPort to identify
             the port, where the SyncE signal is located.";
        }

        leaf state {
          type enumeration {
            enum "PARENT" {
              description
                "Indicates that this source is the current master clock, i.e. the clock,
                 which the clock, controlled by the Netconf Server, is synchronized to";
            }
            enum "OK" {
              description
                "Indicates that this source is an alternate master, which the clock,
                 controlled by the Netconf Server, can potentially synchronize to,
                 i.e. clock class and priority, announced by the master clock is lower,
                 compared to those of the clock, controlled by the Netconf Server,
                 and and the clock class is a

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ccepted";
            }
            enum "NOK" {
              description
                "Indicates that this source is an alternate master, which the clock,
                 controlled by the Netconf Server, has an operational connection to,
                 but the class or priority of the master clock is higher or equal
                 to those of the clock, controlled by the Netconf Server,
                 or the clock class is not accepted";
            }
            enum "DISABLED" {
              description
                "Indicates that this source is an alternate master, which the clock,
                 controlled by the Netconf Server, has no operational connection to";
            }
          }
          description
            "This parameter indicates status of the SyncE source";
        }

        leaf quality-level {
          type uint8 {
            range "0..15";
          }
          description
            "This parameter contains value of the SSM clock quality level,
             r

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eceived in SSM messages from the SyncE source.";
        }
      }
    }

    container gnss-config {
      if-feature "GNSS";
      description
        "This container defines the configuration of Global Navigation Satellite System (GNSS).";
      leaf enable {
        type boolean;
        description
          "This parameter defines if GNSS receiver shall be enabled or not.";
      }

      leaf-list satellite-constelation-list {
        type enumeration {
          enum "GPS" {
            description
              "GPS";
          }
          enum "GLONASS" {
            description
              "GLONASS should not be used alone but always along with GPS or BEIDOU because of missing leap second information";
          }
          enum "GALILEO" {
            description
              "GALILEO";
          }
          enum "BEIDOU" {
            description
              "BEIDOU";
          }
        }
        description
          "This parameter defines list of constellations to be used to acquire sync

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
hronization.";
      }

      leaf polarity {
        type enumeration {
          enum "POSITIVE" {
            description
              "POSITIVE";
          }
          enum "NEGATIVE" {
            description
              "NEGATIVE";
          }
        }
        default "POSITIVE";
        description
          "This parameter defines pulse polarity";
      }

      leaf cable-delay {
        type uint16 {
          range "0..1000";
        }
        default "5";
        description
          "This parameter is used to compensate cable delay.";
      }

      leaf anti-jam-enable {
        if-feature "ANTI-JAM";
        type boolean;
        default "false";
        description
          "This parameter is used to enable or disable anti-jamming.";
      }
    }

    container gnss-status {
      if-feature "GNSS";
      description
        "Provides information about state of gps receiver";
      leaf reporting-period {
        type uint8;
        default "10";
        description
          "This para

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
meter defines minimum period in seconds between reports,
           sent by the NETCONF Client, for parameters in this container.";
      }

      leaf name {
        type string {
          length "1..255";
        }
        config false;
        description
          "A name that is unique that identifies a GNSS instance.
           This name may be used in fault management to refer to a
           fault source or affected object";
      }

      leaf gnss-sync-status {
        type enumeration {
          enum "SYNCHRONIZED" {
            description
              "GNSS functionality is synchronized";
          }
          enum "ACQUIRING-SYNC" {
            description
              "GNSS functionality is acquiring sync";
          }
          enum "ANTENNA-DISCONNECTED" {
            description
              "GNSS functionality has its antenna disconnected";
          }
          enum "BOOTING" {
            description
              "GNSS functionality is booting";
          }
          enum "ANTENNA-S

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
HORT-CIRCUIT" {
            description
              "GNSS functionality has an antenna short circuit";
          }
        }
        config false;
        description
          "when available, indicates the status of the gnss receiver.";
      }

      container gnss-data {
        when "../gnss-sync-status='SYNCHRONIZED'";
        config false;
        description
          "GPS data contained";
        leaf satellites-tracked {
          type uint8;
          description
            "Number of satellites tracked";
        }

        container location {
          description
            "Containes information about geo location";
          leaf altitude {
            type int64;
            units "millimeter";
            description
              "Distance above the sea level.";
          }

          leaf latitude {
            type geographic-coordinate-degree {
              range "-90..90";
            }
            description
              "Relative position north or south on the Earth's surface."

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
          }

          leaf longitude {
            type geographic-coordinate-degree {
              range "-180..180";
            }
            description
              "Angular distance east or west on the Earth's surface.";
          }
        }
      }
    }
  }

  container sync {
    description
      "Main containter for sync related parameters";
    uses sync-group;
  }

  notification synchronization-state-change {
    description
      "Notification used to inform about synchronization state change";
    leaf sync-state {
      type leafref {
        path "/sync/sync-status/sync-state";
      }
      description
        "State of equipment synchronization is notified at state change";
    }
  }

  notification ptp-state-change {
    description
      "Notification used to inform about ptp synchronization state change";
    leaf ptp-state {
      type leafref {
        path "/sync/ptp-status/lock-state";
      }
      description
        "ptp-state-change notification is signalled from equipment

[INF]: LN: Session 1: sending message:

#762


[INF]: LN: Session 1: sending message:
 at state change";
    }
  }

  notification synce-state-change {
    description
      "Notification used to inform about synce synchronization state change";
    leaf synce-state {
      type leafref {
        path "/sync/synce-status/lock-state";
      }
      description
        "synce-state change notification is signalled from equipment at state change";
    }
  }

  notification gnss-state-change {
    if-feature "GNSS";
    description
      "Notification used to inform about gnss synchronization state change";
    leaf gnss-state {
      type leafref {
        path "/sync/gnss-status/gnss-sync-status";
      }
      description
        "gnss-state-change notification is signalled from equipment at state change";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="70"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-system-time</identifier><version>2020-07-01</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-system-time" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="70"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-system-time {
  yang-version 1.1;
  namespace "urn:o-ran:o-ran-system-time:1.0";
  prefix o-ran-system-time;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG model used for O-RAN timestamp.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES;

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prio

[INF]: LN: Session 1: sending message:

#393


[INF]: LN: Session 1: sending message:
r written permission.";

  revision 2020-07-01 {
    description
      "version 1.0.0, added system-time.";
    reference
      "ORAN-WG4.M.0-v03.00";
  }

  container system-time {
    description
      "System date and time properties.";
    leaf current-datetime {
      type yang:date-and-time;
      description
        "The current system date and time.";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="71"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-trace</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-trace" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="71"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-trace {
  yang-version 1.1;
  namespace "urn:o-ran:trace:1.0";
  prefix o-ran-trace;

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the operations for the trace logs.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF L

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
IABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2019-07-03 {
    description
      "version 1.0.0

       1) Initial module definition.";

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping trace-status-grouping {
    description
      "grouping used for trace RPCs";
    leaf status {
      type enumeration {
        enum "SUCCESS" {
          description
            "rpc completed correctly";
        }
        enum "FAILURE" {
          description
            "rpc failed";
        }
      }
      description
        "result of rpc operation";
    }

    leaf failure-reason {
      when "../status = 'FAILURE'";
      type string;
      description
        "free form text description why error occurred";
    }
  }

  rpc start-trace-logs {
    description
      "Management plane triggered to start collecting the trace logs files of O-RU.";

    output {
      uses trace-status-grouping;
    }
  }

  rpc stop-trace-logs {
    description
      "Management plane triggered to stop collecting the trace logs files of O-RU.";

    output {
      uses trace-status-grouping;
    }
  }

  notification trace-log-generated {
    description


[INF]: LN: Session 1: sending message:

#401


[INF]: LN: Session 1: sending message:
"When new log file generated, send this notification.";
    leaf-list log-file-name {
      type string;
      description
        "The list of trace log file names on the O-RU.";
    }

    leaf is-notification-last {
      type boolean;
      default "false";
      description
        "Informs if notification is last - the one after receiving stop-trace-logs rpc.";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="72"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-transceiver</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-transceiver" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="72"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-transceiver {
  yang-version 1.1;
  namespace "urn:o-ran:transceiver:1.0";
  prefix o-ran-transceiver;

  import o-ran-interfaces {
    prefix o-ran-int;
  }

  import ietf-interfaces {
    prefix if;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the operational state data for SFP transceivers used in
     an O-RAN Radio Unit.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BU

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
T NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived fro

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
m
     this software without specific prior written permission.";

  revision 2019-07-03 {
    description
      "version 2.0.0

       1) introduction of reporting for QSFP.
       2) backward compatible changes to introduce groupings.";
    reference
      "ORAN-WG4.M.0-v02.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping transceiver-group {
    list port-transceiver-data {
      key "interface-name port-number";
      description
        "data recovered from port transceivers";
      leaf interface-name {
        type leafref {
          path "/if:interfaces/if:interface/if:name";
        }
        description
          "Name of interface";
      }

      leaf port-number {
        type leafref {
          path "/if:interfaces/if:interface[if:name = current()/../interface-name]/o-ran-int:port-reference/o-ran-int:port-number";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    }
        description
          "A number which identifies a port. In case of SFP/SFP+
           port, port number value is 0 to N-1 where N is number of ports
           in the device. Numbers 0 to N-1 are assigned to ports in order
           following order of labels on the device (labels for ports are
           not necessarily numbers starting from zero)";
      }

      leaf name {
        type string {
          length "1..255";
        }
        description
          "A name that is unique across the O-RU that identifies a transceiver instance.
           This name may be used in fault management to refer to a fault source
           or affected object";
      }

      leaf present {
        type boolean;
        config false;
        mandatory true;
        description
          "Indicates if pluggable transceiver module is present.";
      }

      leaf vendor-id {
        type string {
          length "1..16";
        }
        config false;
        description
          "Name of the transcie

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ver vendor Full name of transceiver vendor,
           that contains ASCII characters, left-aligned with
           any padding on the right with ASCII spaces (20h), or ASCII nul
           (00h) removed, and ASCII less-than (3Ch) replaced with ASCII
           open-brace (7Bh) and ASCII more-than (3Eh) replaced with ASCII
           close-brace (7Dh).

           Optional node included when the NETCONF Server has determined
           the vendor ID.";
      }

      leaf vendor-part {
        type string {
          length "1..16";
        }
        config false;
        description
          "Transceiver vendors part number, that contains ASCII characters,
           left-aligned with any padding on the right with ASCII spaces
           (20h), or ASCII nul (00h) removed, and ASCII less-than (3Ch)
           replaced with ASCII open-brace (7Bh) and ASCII more-than (3Eh)
           replaced with ASCII close-brace (7Dh).

           Optional node included when the NETCONF Server has determined
           the

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
vendor part number.";
      }

      leaf vendor-rev {
        type string {
          length "1..2";
        }
        config false;
        description
          "Transceiver vendors revision number. 2-octet field that
           contains ASCII characters.

           Optional node included when the NETCONF Server has determined
           the vendor revision number";
      }

      leaf serial-no {
        type string {
          length "1..16";
        }
        config false;
        description
          "Transceiver serial number encoded using ASCII characters,
           left-aligned with any padding on the right with ASCII spaces
           (20h), or ASCII nul (00h) removed, and ASCII less-than (3Ch)
           replaced with ASCII open-brace (7Bh) and ASCII more-than (3Eh)
           replaced with ASCII close-brace (7Dh).

           Optional node included when the NETCONF Server has determined
           the serial number.";
      }

      leaf SFF8472-compliance-code {
        type enumeration {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       enum "diagnostics-undefined" {
            description
              "undefined compliance code";
          }
          enum "rev9.3-diagnostics" {
            description
              "diagnostics published 08-01-02";
          }
          enum "rev9.5-diagnostics" {
            description
              "diagnostics published 06-01-04";
          }
          enum "rev10.2-diagnostics" {
            description
              "diagnostics published 06-01-07";
          }
          enum "rev11.0-diagnostics" {
            description
              "diagnostics published 05-21-10";
          }
          enum "rev11.3-diagnostics" {
            description
              "diagnostics published 06-11-13";
          }
          enum "rev11.4-diagnostics" {
            description
              "diagnostics published 07-24-14";
          }
          enum "rev12.0-diagnostics" {
            description
              "diagnostics published 08-28-14";
          }
        }
        config false;
        descript

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ion
          "Indication of which feature set(s) are
           implemented in the transceiver from Byte 94 of address A0h
           https://ta.snia.org/higherlogic/ws/public/download/294/SFF-8472.PDF

           Optional node included when the NETCONF Server has determined
           the compliance code.";
        reference
          "https://ta.snia.org/higherlogic/ws/public/download/294/SFF-8472.PDF";
      }

      leaf connector-type {
        type enumeration {
          enum "unknown" {
            description
              "encoded as 00h in Table 4-3 of SFF-8024";
          }
          enum "subscrber-connector" {
            description
              "encoded as 01h in Table 4-3 of SFF-8024";
          }
          enum "fiber-jack" {
            description
              "encoded as 06h in Table 4-3 of SFF-8024";
          }
          enum "lucent-connector" {
            description
              "encoded as 07h in Table 4-3 of SFF-8024";
          }
          enum "mt-rj" {
            descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
              "encoded as 08h in Table 4-3 of SFF-8024";
          }
          enum "multiple-optical" {
            description
              "encoded as 09h in Table 4-3 of SFF-8024";
          }
          enum "sg" {
            description
              "encoded as 0Ah in Table 4-3 of SFF-8024";
          }
          enum "optical-pigtail" {
            description
              "encoded as 0Bh in Table 4-3 of SFF-8024";
          }
          enum "multi-fiber-parralel-optic-1x12" {
            description
              "encoded as 0Ch in Table 4-3 of SFF-8024";
          }
          enum "multi-fiber-parralel-optic-2x16" {
            description
              "encoded as 0Dh in Table 4-3 of SFF-8024";
          }
          enum "hssdc_2" {
            description
              "encoded as 20h in Table 4-3 of SFF-8024";
          }
          enum "copper-pigtail" {
            description
              "encoded as 21h in Table 4-3 of SFF-8024";
          }
          enum "rj45" {
            descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
              "encoded as 22h in Table 4-3 of SFF-8024";
          }
          enum "no-separable-connector" {
            description
              "encoded as 23h in Table 4-3 of SFF-8024";
          }
          enum "mxc-2x16" {
            description
              "encoded as 24h in Table 4-3 of SFF-8024";
          }
        }
        config false;
        description
          "Connector-type indicates the external optical or electrical cable
           connector provided as the media interface as defined in the connector
           types derived from table 4-3 in SFF-8024.

           Optional node included when the NETCONF Server has determined
           the connector type.";
        reference
          "https://ta.snia.org/higherlogic/ws/public/document?document_id=944";
      }

      leaf identifier {
        type enumeration {
          enum "unknown" {
            description
              "encoded as 00h in Table 4-1 of SFF-8024";
          }
          enum "gbic" {
            description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
              "encoded as 01h in Table 4-1 of SFF-8024";
          }
          enum "soldered" {
            description
              "encoded as 02h in Table 4-1 of SFF-8024";
          }
          enum "sfp" {
            description
              "encoded as 03h in Table 4-1 of SFF-8024";
          }
          enum "xbi" {
            description
              "encoded as 04h in Table 4-1 of SFF-8024";
          }
          enum "xenpack" {
            description
              "encoded as 05h in Table 4-1 of SFF-8024";
          }
          enum "xfp" {
            description
              "encoded as 06h in Table 4-1 of SFF-8024";
          }
          enum "xff" {
            description
              "encoded as 07h in Table 4-1 of SFF-8024";
          }
          enum "xfp-e" {
            description
              "encoded as 08h in Table 4-1 of SFF-8024";
          }
          enum "xpak" {
            description
              "encoded as 09h in Table 4-1 of SFF-8024";
          }
          enum

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
"x2" {
            description
              "encoded as 0Ah in Table 4-1 of SFF-8024";
          }
          enum "dwdm-sfp" {
            description
              "encoded as 0Bh in Table 4-1 of SFF-8024";
          }
          enum "qsfp" {
            description
              "encoded as 0Ch in Table 4-1 of SFF-8024";
          }
          enum "qsfp+" {
            description
              "encoded as 0Dh in Table 4-1 of SFF-8024";
          }
        }
        config false;
        description
          "Connector identifier as defined in the identifer
           types derived from table 4-1 in SFF-8024.

           Optional node included when the NETCONF Server has determined
           the identifier type.";
        reference
          "https://members.snia.org/document/dl/26423";
      }

      leaf nominal-bitrate {
        type uint32;
        config false;
        description
          "Nominal bitrate in Mb/s (10^6 bits per second).
           If needed actual value is rounded to nearest integ

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
er.

           Optional node included when the NETCONF Server has determined
           the nominal bit rate.";
      }

      leaf low-bitrate-margin {
        type uint8;
        config false;
        description
          "Minimum supported bitrate as percentage of nominal bitrate
           below nominal bitrate.

           Optional node included when the NETCONF Server has determined
           the low bit rate margin";
      }

      leaf high-bitrate-margin {
        type uint8;
        config false;
        description
          "Maximum supported bitrate as percentage of nominal bitrate
           above nominal bitrate.

           Optional node included when the NETCONF Server has determined
           the high bitrate margin.";
      }

      leaf rx-power-type {
        type enumeration {
          enum "oma" {
            description
              "oma = optical modulation amplitude";
          }
          enum "avp" {
            description
              "avp = average power";
          }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     }
        config false;
        description
          "Receieved power measurement type
           oma = optical modulation amplitude
           avp = average power

           Optional node included when the NETCONF Server has determined
           the rx power type.";
      }

      leaf rx-power {
        type decimal64 {
          fraction-digits 4;
        }
        config false;
        description
          "Measured RX input power in mW.

           Optional node included when the NETCONF Server has determined
           the measured RX power.

           If operating with QSFP, this power corresponds to that of
           Lane/Channel 1.";
      }

      leaf tx-power {
        type decimal64 {
          fraction-digits 4;
        }
        config false;
        description
          "Measured coupled TX output power in mW.

           Optional node included when the NETCONF Server has determined
           the measured coupled TX power.";
      }

      leaf tx-bias-current {
        type decim

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
al64 {
          fraction-digits 4;
        }
        config false;
        description
          "Measured transmitter laser bias current in mA.

           Optional node included when the NETCONF Server has determined
           the tx bias current.

           If operating with QSFP, this bias current corresponds to that of
           Lane/Channel 1.";
      }

      leaf voltage {
        type decimal64 {
          fraction-digits 4;
        }
        config false;
        description
          "Internally measured supply voltage in mV.

           Optional node included when the NETCONF Server has determined
           the internally measured voltage.";
      }

      leaf temperature {
        type decimal64 {
          fraction-digits 4;
        }
        config false;
        description
          "Internally measured module temperature in degrees Celcius.

           Optional node included when the NETCONF Server has determined
           the temperature.";
      }

      list additional-multi-lane-r

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eporting {
        when "(../identifier ='qsfp')or(../identifier ='qsfp+')";
        key "lane";
        config false;
        description
          "Additional reporting according to SFF8436 which specifies real time
           channel monitoring for each transmit and receive channel and includes
           optical input power and Tx bias current. ";
        leaf lane {
          type uint8 {
            range "2..4";
          }
          description
            "the specific lane/channel associated with the report parameters";
        }

        leaf rx-power {
          type decimal64 {
            fraction-digits 4;
          }
          config false;
          description
            "Measured RX input power in mW.

             Optional node included when the NETCONF Server has determined
             the measured RX power for a particular lane/channel
             - see tabel 7-10 of SFF-8636.";
        }

        leaf tx-bias-current {
          type decimal64 {
            fraction-digits 4;


[INF]: LN: Session 1: sending message:

#1020


[INF]: LN: Session 1: sending message:
   }
          config false;
          description
            "Measured transmitter laser bias current in mA.

             Optional node included when the NETCONF Server has determined
             the tx bias current for a particular lane/channel
             - see tabel 7-10 of SFF-8636.";
        }

        leaf tx-power {
          type decimal64 {
            fraction-digits 4;
          }
          config false;
          description
            "Measured coupled TX output power in mW.

             Optional node included when the NETCONF Server has determined
             the measured coupled TX power or a particular lane/channel
             - see tabel 7010 of SFF-8636.";
        }
      }
    }
  }

  container port-transceivers {
    description
      "Container for Port transceiver information.
       Leaf nodes providing  parameters status and diagnostic
       information for pluggable transceiver module (like SFP,
       SFP+, SFP28)";
    uses transceiver-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="73"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-troubleshooting</identifier><version>2019-02-04</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-troubleshooting" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="73"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-troubleshooting {
  yang-version 1.1;
  namespace "urn:o-ran:troubleshooting:1.0";
  prefix o-ran-trblsht;

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the operations for the troubleshooting logs.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEV

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2019-02-04 {
    description
      "version 1.0.0



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping troubleshooting-status-grouping {
    description
      "grouping used for troubleshooting RPCs";
    leaf status {
      type enumeration {
        enum "SUCCESS" {
          description
            "rpc completed correctly";
        }
        enum "FAILURE" {
          description
            "rpc failed";
        }
      }
      description
        "result of rpc operation";
    }

    leaf failure-reason {
      when "../status = 'FAILURE'";
      type string;
      description
        "free form text description why error occurred";
    }
  }

  rpc start-troubleshooting-logs {
    description
      "Management plane triggered to start collecting the troubleshooting logs files of O-RU.";

    output {
      uses troubleshooting-status-grouping;
    }
  }

  rpc stop-troubleshooting-logs {
    description
      "Management plane triggered to stop collecting

[INF]: LN: Session 1: sending message:

#402


[INF]: LN: Session 1: sending message:
 the troubleshooting logs files of O-RU.";

    output {
      uses troubleshooting-status-grouping;
    }
  }

  notification troubleshooting-log-generated {
    description
      "When new log file generated, send this notification.";
    leaf-list log-file-name {
      type string;
      description
        "The list of troubleshooting log file names on the O-RU.";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="74"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-processing-element</identifier><version>2020-04-18</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-processing-element" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="74"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-processing-element {
  yang-version 1.1;
  namespace "urn:o-ran:processing-element:1.0";
  prefix o-ran-elements;

  import ietf-yang-types {
    prefix yang;
  }

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-interfaces {
    prefix if;
  }

  import ietf-ip {
    prefix ip;
  }

  import o-ran-interfaces {
    prefix o-ran-int;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for mapping of transport flows to
     processing elements. Three options are supported:
     i) virtual MAC based mapping
     ii) MAC addrress + VLAN-ID based mapping
     iii) UDP/IP based mapping

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, IN

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
CLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-04-18 {
    description
      "version 3.0.1

       1) added new enum CPRI-INTERFACE in
         transport-session-type to enable cpri scenario.";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2020-04-17 {
    description
      "version 3.0.0

       1) added new enum SHARED-CELL-ETH-INTERFACE in
         transport-session-type and new containers north-eth-flow and
         south-eth-flow to enable Shared cell scenario.";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 1.1.0

       1) added new leaf t

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
o enable O-RU to report the maximum number of
       transport flows it can support, e.g., due to restrictions on number
       of VLAN-IDs when ethernet type transport is used.";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature SHARED_CELL {
    description
      "Presence of feature indicates that this O-RU is capable to support
       shared cell.";
  }

  grouping pe-group {
    leaf maximum-number-of-transport-flows {
      type uint16 {
        range "1..4094";
      }
      default "4094";
      config false;
      description
        "The maximum number of transport flows that can be supported by an O-RU";
    }

    leaf transport-session-type {
      type enumeration {
        enum "ETH-INTERFACE" {
          description
            "VLAN based CUS Transport ";
        }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     enum "UDPIP-INTERFACE" {
          description
            "UDP/IP based CUS Transport ";
        }
        enum "ALIASMAC-INTERFACE" {
          description
            "Alias MAC address based CUS Transport ";
        }
        enum "SHARED-CELL-ETH-INTERFACE" {
          if-feature "SHARED_CELL";
          description
            "VLAN based CUS Transport used for Shared Cell scenario";
        }
        enum "CPRI-INTERFACE" {
          description
            "CPRI based U-plane Transport for option8 CPRI scenario";
        }
      }
      default "ETH-INTERFACE";
      description
        "the type of transport session used for identifying different processing
         elements";
    }

    container enhanced-uplane-mapping {
      presence "indicates that enhanced uplane mapping is used";
      description
        "a mapping table for enhanced user plane marking";
      list uplane-mapping {
        key "up-marking-name";
        description
          "a mapping between up-link name and o-ran-int

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
erfaces:up-marking-name";
        leaf up-marking-name {
          type string;
          description
            "a unique up marking name that is used for enhanced up marking";
        }

        choice up-markings {
          description
            "U-Plane markings";
          case ethernet {
\n(../../transport-session-type = 'SHARED-CELL-ETH-INTERFACE')";RFACE') or
            leaf up-cos-name {
              type leafref {
                path "/if:interfaces/if:interface/o-ran-int:class-of-service/o-ran-int:enhanced-uplane-markings/o-ran-int:up-marking-name";
              }
              description
                "the Ethernet U-plane transport marking as defined in o-ran-interfaces";
            }
          }

          case ipv4 {
            when "(../../transport-session-type = 'UDPIP-INTERFACE')";
            leaf upv4-dscp-name {
              type leafref {
                p

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ath "/if:interfaces/if:interface/ip:ipv4/o-ran-int:diffserv-markings/o-ran-int:enhanced-uplane-markings/o-ran-int:up-marking-name";
              }
              description
                "the IPv4 U-plane transport marking as defined in o-ran-interfaces";
            }
          }

          case ipv6 {
            when "(../../transport-session-type = 'UDPIP-INTERFACE')";
            leaf upv6-dscp-name {
              type leafref {
                path "/if:interfaces/if:interface/ip:ipv6/o-ran-int:diffserv-markings/o-ran-int:enhanced-uplane-markings/o-ran-int:up-marking-name";
              }
              description
                "the IPv6 U-plane transport marking as defined in o-ran-interfaces";
            }
          }
        }
      }
    }

    list ru-elements {
      key "name";
      description
        "the list of transport definitions for each processing element";
      leaf name {
        type string {
          length "1..255";
        }
        description
          "A name that is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
unique across the O-RU that identifies a processing
           element instance.

           This name may be used in fault management to refer to a fault source
           or affected object";
      }

      container transport-flow {
        description
          "container for the transport-flow used for CU plane";
        leaf interface-name {
          type leafref {
            path "/if:interfaces/if:interface/if:name";
          }
          description
            "the interface name ";
        }

        container aliasmac-flow {
          when "../../../transport-session-type = 'ALIASMAC-INTERFACE'";
          if-feature "o-ran-int:ALIASMAC-BASED-CU-PLANE";
          description
            "leafs for virtual mac type data flows";
          leaf ru-aliasmac-address {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:alias-macs";
            }
            mandatory true;
            description
              "

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
O-RU's alias MAC address used for alias MAC based flow";
          }

          leaf vlan-id {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:vlan-id";
            }
            description
              "O-RU's VLAN-ID used for alias MAC based flow";
          }

          leaf o-du-mac-address {
            type yang:mac-address;
            mandatory true;
            description
              "O-DU's MAC address used for alias MAC based flow";
          }
        }

        container eth-flow {
          when "../../../transport-session-type = 'ETH-INTERFACE'";
          description
            "leafs for mac + vlan-id type data flows";
          leaf ru-mac-address {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:mac-address";
            }
            mandatory true;
            description
              "O-RU's MAC address used for Ethernet base

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d flow";
          }

          leaf vlan-id {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:vlan-id";
            }
            mandatory true;
            description
              "O-RU's VLAN-ID used for Ethernet based flow";
          }

          leaf o-du-mac-address {
            type yang:mac-address;
            mandatory true;
            description
              "O-DU's MAC address used for Ethernet based flow";
          }
        }

        container udpip-flow {
          when "../../../transport-session-type = 'UDPIP-INTERFACE'";
          description
            "leafs for UDP/IP type data flows";
          choice address {
            mandatory true;
            description
              "choice of O-RU IPv4 or IPv6 address";
            leaf ru-ipv4-address {
              type leafref {
                path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/ip:ipv4/ip:address/ip:ip";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
         }
              description
                "O-RU's IPv4 address";
            }

            leaf ru-ipv6-address {
              type leafref {
                path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/ip:ipv6/ip:address/ip:ip";
              }
              description
                "O-RU's IPv6 address";
            }
          }

          leaf o-du-ip-address {
            type inet:ip-address;
            mandatory true;
            description
              "O-DU's IPv address";
          }

          leaf ru-ephemeral-udp-port {
            type inet:port-number;
            mandatory true;
            description
              "ephemeral port used by O-RU";
          }

          leaf o-du-ephemeral-udp-port {
            type inet:port-number;
            mandatory true;
            description
              "ephemeral port used by O-DU";
          }

          leaf ecpri-destination-udp {
            type inet:port-number;
            mandatory true;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          description
              "the well known UDP port number used by eCPRI";
          }
        }

        container north-eth-flow {
          when "../../../transport-session-type = 'SHARED-CELL-ETH-INTERFACE'";
          if-feature "SHARED_CELL";
          description
            "leafs for mac + vlan-id type data flows";
          leaf ru-mac-address {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:mac-address";
            }
            description
              "O-RU's MAC address used for Ethernet based flow";
          }

          leaf vlan-id {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:vlan-id";
            }
            description
              "O-RU's VLAN-ID used for Ethernet based flow";
          }

          leaf north-node-mac-address {
            type yang:mac-address;
            description
              "North-node's

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 MAC address used for Ethernet based flow";
          }
        }

        container south-eth-flow {
          when "../../../transport-session-type = 'SHARED-CELL-ETH-INTERFACE'";
          if-feature "SHARED_CELL";
          description
            "leafs for mac + vlan-id type data flows";
          leaf ru-mac-address {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:mac-address";
            }
            description
              "O-RU's MAC address used for Ethernet based flow";
          }

          leaf vlan-id {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:vlan-id";
            }
            description
              "O-RU's VLAN-ID used for Ethernet based flow";
          }

          leaf south-node-mac-address {
            type yang:mac-address;
            description
              "south-node's MAC address used for Ethernet based flo

[INF]: LN: Session 1: sending message:

#417


[INF]: LN: Session 1: sending message:
w";
          }
        }
      }
    }
  }

  container processing-elements {
    description
      "a model defining the mapping between transport flows and arbitrary
       O-RAN processing elements. A processing element may be then defined for
       handling connectivity or delay procedures, or defined with a corresponding
       eaxcid for CU plane operations";
    uses pe-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="75"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-uplane-conf</identifier><version>2020-04-17</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-uplane-conf" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="75"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-uplane-conf {
  yang-version 1.1;
  namespace "urn:o-ran:uplane-conf:1.0";
  prefix o-ran-uplane-conf;

  import o-ran-processing-element {
    prefix o-ran-pe;
  }

  import ietf-interfaces {
    prefix if;
  }

  import o-ran-module-cap {
    prefix mcap;
    revision-date 2020-04-17;
  }

  import o-ran-compression-factors {
    prefix cf;
    revision-date 2020-03-05;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the module capabilities for
     the O-RAN Radio Unit U-Plane configuration.

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provi

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ded with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-04-17 {
    description
      "version 3.0.0

       1) Adding optional little endian support
       2) Adding a new capability parameter to indicate that the O-RU
       supports regularizationFactor in section type 5
       3) Added support for Dynamic Spectrum Sharing feature
       4) Clarify the supported number of reMasks in RU side
       5) Section extension for grouping multiple ports
       6) adding PRACH formats to endpoint capabilities";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 1.1.0

       1) added new leaf multiple-numerology-supported to enable O-RU to report
         whether it supports multiple numerologies.

       2) fixing broken constraints (configuration cannot be dependent on


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       operational state). This is a backwards incompatible revision.

       As these constraints only apply when the LAA feature is used, and also
       when considering the limited number of implementation that need to be
       taken into consideration for backwards compatibility, it has been
       agreed to NOT increment the namespace integer.

       3) added frequency related capabilities for tx-arrays and rx-array

       4) removed redundant LAA import";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  typedef prach-preamble-format {
    type enumeration {
      enum "LTE-0" {
        description
          "LTE PRACH Preamble format 0";
      }
      enum "LTE-1" {
        description
          "LTE PRACH Preamble format 1";
      }
      enum "LTE-2" {
        description
          "LTE PRACH

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Preamble format 2";
      }
      enum "LTE-3" {
        description
          "LTE PRACH Preamble format 3";
      }
      enum "LTE-4" {
        description
          "LTE PRACH Preamble format 4";
      }
      enum "LTE-NB0" {
        description
          "LTE Narrowband PRACH format 0";
      }
      enum "LTE-NB1" {
        description
          "LTE Narrowband PRACH format 1";
      }
      enum "NR-0" {
        description
          "5GNR PRACH Preamble format 0";
      }
      enum "NR-1" {
        description
          "5GNR PRACH Preamble format 1";
      }
      enum "NR-2" {
        description
          "5GNR PRACH Preamble format 2";
      }
      enum "NR-3" {
        description
          "5GNR PRACH Preamble format 3";
      }
      enum "NR-A1" {
        description
          "5GNR PRACH Preamble format A1";
      }
      enum "NR-A2" {
        description
          "5GNR PRACH Preamble format A2";
      }
      enum "NR-A3" {
        description
          "5GNR PRACH Preamble format A3";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      }
      enum "NR-B1" {
        description
          "5GNR PRACH Preamble format B1";
      }
      enum "NR-B2" {
        description
          "5GNR PRACH Preamble format B2";
      }
      enum "NR-B3" {
        description
          "5GNR PRACH Preamble format B3";
      }
      enum "NR-B4" {
        description
          "5GNR PRACH Preamble format B4";
      }
      enum "NR-C0" {
        description
          "5GNR PRACH Preamble format C0";
      }
      enum "NR-C2" {
        description
          "5GNR PRACH Preamble format C2";
      }
    }
    description
      "PRACH preamble format definition";
  }

  typedef polarisation_type {
    type enumeration {
      enum "MINUS_45" {
        description
          "MINUS_45";
      }
      enum "ZERO" {
        description
          "ZERO";
      }
      enum "PLUS_45" {
        description
          "PLUS_45";
      }
      enum "PLUS_90" {
        description
          "PLUS_90";
      }
    }
    description
      "Type definition for polarisat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ions";
  }

  grouping general-config {
    description
      "a group for general configuration";
    container general-config {
      description
        "a container for general configuration";
      leaf regularization-factor-se-configured {
        type boolean;
        default "false";
        description
          "Informs if regularizationfactor in section extension is configured(true) or not(false), this
           leaf indicates whether the O-DU will send the regularizationfactor in section extension.

           If the O-RU does not support regularization-factor-se-supported in o-ran-module-cap.yang,
           this leaf is ignored.";
      }

      leaf little-endian-byte-order {
        type boolean;
        default "false";
        description
          "If  little endian byte order for C/U plane data flows is supported by
           the O-RU, indicates if the O-RU should use little endian byte order
           for all UL and DL C/U plane data flows.

           If little endian byte order is NO

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
T supported, this node is ignored
           (and the default bigendian byte order used)";
      }
    }
  }

  grouping laa-carrier-config {
    description
      "Carrier Configuration for support of LAA. ";
    leaf ed-threshold-pdsch {
      type int8;
      units "dBm";
      description
        "This value indicates Energy Detection(ED) threshold for LBT for PDSCH and for measurements in dBm.";
    }

    leaf ed-threshold-drs {
      type int8;
      units "dBm";
      description
        "This value indicates Energy Detection(ED) threshold for LBT for DRS in dBm.";
    }

    leaf tx-antenna-ports {
      type uint8;
      description
        "This value indicates Tx antenna ports for DRS (1, 2, 4)";
    }

    leaf transmission-power-for-drs {
      type int8;
      units "decibels";
      description
        "This value indicates offset of Cell specific reference Signal(CRS) power to reference signal power (dB).
         DRS signal consists of CRS, PSS, SSS, and optionally CSI-RS.";
    }

    leaf

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
dmtc-period {
      type enumeration {
        enum "FORTY" {
          description
            "40 ms";
        }
        enum "EIGHTY" {
          description
            "80 ms";
        }
        enum "ONE-HUNDRED-SIXTY" {
          description
            "160 ms";
        }
      }
      units "milliseconds";
      description
        "This value indicates DRS measurement timing configuration (DMTC) period in ms";
    }

    leaf dmtc-offset {
      type uint8;
      units "subframes";
      description
        "This value indicates dmtc offset in Subframes.";
    }

    leaf lbt-timer {
      type uint16;
      units "milliseconds";
      description
        "This value indicates LBT Timer in milliseconds.";
    }

    list max-cw-usage-counter {
      when "/mcap:module-capability/mcap:rw-sub-band-info/mcap:rw-self-configure = 'true'";
      key "priority";
      description
        "";
      leaf priority {
        type enumeration {
          enum "P1" {
            description
              "priori

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ty 1";
          }
          enum "P2" {
            description
              "priority 2";
          }
          enum "P3" {
            description
              "priority 3";
          }
          enum "P4" {
            description
              "priority 4";
          }
        }
        description
          "This value provides the priority class traffic for which the counter is calculated.";
      }

      leaf counter-value {
        type uint8 {
          range "1..8";
        }
        description
          "This value indicates the maximum value of counter
           which shows how many max congestion window value is used for backoff
           number of priority class traffic. This value is defined at 3GPP 36.213
           section 15.1.3 as K.";
      }
    }
  }

  grouping eaxc {
    description
      "One eAxC identifier (eAxC ID) comprises a band and sector
       identifier (BandSector_ID), a component-carrier identifier (CC_ID) and a
       spatial stream identifier (RU_Port_ID).



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 In this version of the specification, one eAxC contains only one spatial
       stream (i.e. one beam per subcarrier) at a time.

       Bit allocation is subdivided as follows:
       *    O_DU_Port_ID: Used to differentiate processing units at O-DU
       *    BandSector_ID: Aggregated cell identifier
       *    CC_ID: distinguishes Carrier Components
       *    RU_Port_ID: Used to differentiate spatial streams or beams on the O-RU

       The bitwidth of each of the above fields is variable this model is supposed to check
        if we are occpying bits continuously but we do not have to occupy all 16 bits";
    leaf o-du-port-bitmask {
      type uint16;
      mandatory true;
      description
        "mask for eaxc-id bits used to encode O-DU Port ID";
    }

    leaf band-sector-bitmask {
      type uint16;
      mandatory true;
      description
        "mask for eaxc-id bits used to encode the band sector ID";
    }

    leaf ccid-bitmask {
      type uint16;
      mandatory true;
      description

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

        "mask for eaxc-id bits used to encode the component carrier id";
    }

    leaf ru-port-bitmask {
      type uint16;
      mandatory true;
      description
        "mask for eaxc-id bits used to encode the O-RU Port ID";
    }

    leaf eaxc-id {
      type uint16;
      mandatory true;
      description
        "encoded value of eaxcid to be read by CU-Plane";
    }
  }

  grouping parameters {
    description
      "Grouping of all parameters common between UL and DL";
    leaf name {
      type string;
      mandatory true;
      description
        "Unique name of array antenna";
    }

    leaf number-of-rows {
      type uint16;
      mandatory true;
      description
        "Number of rows array elements are shaped into - M";
    }

    leaf number-of-columns {
      type uint16;
      mandatory true;
      description
        "Number of columns array elements are shaped into - N";
    }

    leaf number-of-array-layers {
      type uint8;
      mandatory true;
      description
        "Nu

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
mber of array layers array elements are shaped into - Q";
    }

    leaf horizontal-spacing {
      type decimal64 {
        fraction-digits 5;
      }
      units "Meter";
      description
        "Average distance between centers of nearby AE in horizontal direction (in array coordinates system)";
    }

    leaf vertical-spacing {
      type decimal64 {
        fraction-digits 5;
      }
      units "Meter";
      description
        "Average distance between centers of nearby AE in vertical direction (in array coordinates system)";
    }

    container normal-vector-direction {
      description
        "Counter-clockwise rotation around z and y axis.";
      leaf azimuth-angle {
        type decimal64 {
          fraction-digits 4;
        }
        units "Degrees";
        description
          "Azimuth angle, counter-clockwise rotation around z-axis. Value 'zero' points to broad-side, value '90' points to y-axis";
      }

      leaf zenith-angle {
        type decimal64 {
          fraction-digits 4

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
        }
        units "Degrees";
        description
          "Zenith angle, counter-clockwise rotation around y-axis. Value 'zero' points to zenith, value '90' points to horizon";
      }
    }

    container leftmost-bottom-array-element-position {
      description
        "Structure describing position of leftmost, bottom array element.";
      leaf x {
        type decimal64 {
          fraction-digits 4;
        }
        units "Meter";
        description
          "X dimension of position of leftmost, bottom array element";
      }

      leaf y {
        type decimal64 {
          fraction-digits 4;
        }
        units "Meter";
        description
          "Y dimension of position of leftmost, bottom array element";
      }

      leaf z {
        type decimal64 {
          fraction-digits 4;
        }
        units "Meter";
        description
          "Z dimension of position of leftmost, bottom array element";
      }
    }

    list polarisations {
      key "p";
      min-elements 1;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      max-elements 2;
      description
        "List of supported polarisations.";
      leaf p {
        type uint8;
        mandatory true;
        description
          "Polarisation index. See CUS-plane";
      }

      leaf polarisation {
        type polarisation_type;
        mandatory true;
        description
          "Type of polarisation supported by array.";
      }
    }

    leaf band-number {
      type leafref {
        path "/mcap:module-capability/mcap:band-capabilities/mcap:band-number";
      }
      mandatory true;
      description
        "This parameter informing which frequency band particular antenna
         array is serving for.
         Intended use is to deal with multiband solutions.";
    }
  }

  grouping array-choice {
    description
      "Elements which groups choice for antenna type";
    choice antenna-type {
      description
        "Choice for antenna type";
      case tx {
        leaf tx-array-name {
          type leafref {
            path "/o-ran-uplane-conf:us

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
er-plane-configuration/o-ran-uplane-conf:tx-arrays/o-ran-uplane-conf:name";
          }
          description
            "Leafref to tx array if such is choosen";
        }
      }

      case rx {
        leaf rx-array-name {
          type leafref {
            path "/o-ran-uplane-conf:user-plane-configuration/o-ran-uplane-conf:rx-arrays/o-ran-uplane-conf:name";
          }
          description
            "Leafref to rx array if such is choosen";
        }
      }
    }
  }

  grouping scs-config {
    description
      "It groups all parameters related to SCS configuration";
    leaf frame-structure {
      type uint8;
      description
        "This parameter defines the frame structure. The first 4 bits define the FFT/iFFT size
         being used for all IQ data processing related to this message.
         The second 4 bits define the sub carrier spacing as well as the number of slots per 1ms sub-frame
         according to 3GPP TS 38.211, taking for completeness also 3GPP TS 36.211 into account";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  }

    leaf cp-type {
      type enumeration {
        enum "NORMAL" {
          description
            "Normal cyclic prefix";
        }
        enum "EXTENDED" {
          description
            "Extended cyclic prefix";
        }
      }
      description
        "Provides type of CP (cyclic prefix) if section type 3 is not used or type of CP cannot be determined from cpLength.";
    }

    leaf cp-length {
      type uint16;
      units "Ts";
      mandatory true;
      description
        "Used for symbol 0 for NR &amp; LTE, and symbol 7*2u for NR.
         See CUS-plane";
    }

    leaf cp-length-other {
      type uint16;
      units "Ts";
      mandatory true;
      description
        "Used for other symbols than by cp-length above";
    }

    leaf offset-to-absolute-frequency-center {
      type int32;
      mandatory true;
      description
        "This provides value of freqOffset to be used if section type 3 is not used. See freqOffset in CUS-plane.";
    }

    list number-of-prb-per-scs

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
{
      key "scs";
      description
        "List of configured for each SCS that will be used.";
      leaf scs {
        type mcap:scs-config-type;
        description
          "Value corresponds to SCS values defined for frameStructure in C-plane.
           Note: set of allowed values is restricted by SCS derived from values in supported-frame-structures.";
      }

      leaf number-of-prb {
        type uint16;
        mandatory true;
        description
          "Determines max number of PRBs that will be used in all sections per one symbol.
           This is affecting allocation of resources to endpoint. Value shall not exceed constrains
           defined by max-prb-per-symbol of endpoint type. In addition sum (over all used epoints
           within a group of endpoints sharing resources) of number-of-prb rounded up to
           nearest value from prb-capacity-allocation-granularity shall not exceed max-prb-per-symbol of the group.";
      }
    }
  }

  grouping tx-common-array-carrier-element

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
s {
    description
      "This grouping containes all common parameters for tx-array-carriers and rx-array-carriers";
    leaf absolute-frequency-center {
      type uint32;
      mandatory true;
      description
        "Absolute Radio Frequency Channel Number - indirectly indicates RF center carrier frequency of signal.
         Reflected in arfcn.";
    }

    leaf center-of-channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Center frequency of channel bandwidth in Hz. Common for all numerologies.";
    }

    leaf channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Width of carrier given in Hertz";
    }

    leaf active {
      type enumeration {
        enum "INACTIVE" {
          description
            "carrier does not provide signal - transmission is disabled";
        }
        enum "SLEEP" {
          description
            "carrier is fully configured and was active but is energy saving

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 mode";
        }
        enum "ACTIVE" {
          description
            "carrier is fully configured and properly providing the signal";
        }
      }
      default "INACTIVE";
      description
        "Indicates if transmission is enabled for this array carriers. Note that Netconf server uses state parameter
         to indicate actual state of array carriers operation. When array carriers is in sleep status,
         Netconf server rejects all other operation request to tx-array-carriers object except either request to change from sleep
         to active status or delete MO operation (see 4.8) to the object.";
    }

    leaf state {
      type enumeration {
        enum "DISABLED" {
          description
            "array carrier is not active - transmission of signal is disabled.";
        }
        enum "BUSY" {
          description
            "array carrier is processing an operation requested by change of active parameter.
             When array carriers is BUSY the transmission of signal

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 is not guaranteed.";
        }
        enum "READY" {
          description
            "array carrier had completed activation operation - is active and transmission of signal is ongoing.";
        }
      }
      config false;
      mandatory true;
      description
        "Indicates state of array carriers activation operation";
    }

    leaf type {
      type enumeration {
        enum "NR" {
          description
            "5G technology";
        }
        enum "LTE" {
          description
            "LTE technology";
        }
        enum "DSS_LTE_NR" {
          if-feature "mcap:DSS_LTE_NR";
          description
            "NR and LTE technologies in Dynamic Spectrum Sharing mode";
        }
      }
      description
        "Type of carrier. Indicates array-carrier technology.";
    }

    leaf duplex-scheme {
      type enumeration {
        enum "TDD" {
          description
            "TDD scheme";
        }
        enum "FDD" {
          description
            "FDD scheme";
        }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

      }
      config false;
      description
        "Type of duplex scheme O-RU supports.";
    }

    leaf rw-duplex-scheme {
      type leafref {
        path "/user-plane-configuration/tx-array-carriers[name=current()/../name]/duplex-scheme";
        require-instance false;
      }
      description
        "Config true type of duplex scheme.";
    }

    leaf rw-type {
      type leafref {
        path "/user-plane-configuration/tx-array-carriers[name=current()/../name]/type";
        require-instance false;
      }
      description
        "Config true type of carrier.";
    }
  }

  grouping rx-common-array-carrier-elements {
    description
      "This grouping containes all common parameters for tx-array-carriers and rx-array-carriers";
    leaf absolute-frequency-center {
      type uint32;
      mandatory true;
      description
        "Absolute Radio Frequency Channel Number - indirectly indicates RF center carrier frequency of signal.
         Reflected in arfcn.";
    }

    leaf center-of-c

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
hannel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Center frequency of channel bandwidth in Hz. Common for all numerologies.";
    }

    leaf channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Width of carrier given in Hertz";
    }

    leaf active {
      type enumeration {
        enum "INACTIVE" {
          description
            "carrier does not provide signal - transmission is disabled";
        }
        enum "SLEEP" {
          description
            "carrier is fully configured and was active but is energy saving mode";
        }
        enum "ACTIVE" {
          description
            "carrier is fully configured and properly providing the signal";
        }
      }
      default "INACTIVE";
      description
        "Indicates if transmission is enabled for this array carriers. Note that Netconf server uses state parameter
         to indicate actual state of array carriers operation. W

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
hen array carriers is in sleep status,
         Netconf server rejects all other operation request to tx-array-carriers object except either request to change from sleep
         to active status or delete MO operation (see 4.8) to the object.";
    }

    leaf state {
      type enumeration {
        enum "DISABLED" {
          description
            "array carrier is not active - transmission of signal is disabled.";
        }
        enum "BUSY" {
          description
            "array carrier is processing an operation requested by change of active parameter.
             When array carriers is BUSY the transmission of signal is not guaranteed.";
        }
        enum "READY" {
          description
            "array carrier had completed activation operation - is active and transmission of signal is ongoing.";
        }
      }
      config false;
      mandatory true;
      description
        "Indicates state of array carriers activation operation";
    }

    leaf type {
      type enumeration {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
        enum "NR" {
          description
            "5G technology";
        }
        enum "LTE" {
          description
            "LTE technology";
        }
        enum "DSS_LTE_NR" {
          if-feature "mcap:DSS_LTE_NR";
          description
            "NR and LTE technologies in Dynamic Spectrum Sharing mode";
        }
      }
      description
        "Type of carrier. Indicates array-carrier technology.";
    }

    leaf duplex-scheme {
      type enumeration {
        enum "TDD" {
          description
            "TDD scheme";
        }
        enum "FDD" {
          description
            "FDD scheme";
        }
      }
      config false;
      description
        "Type of duplex scheme O-RU supports.";
    }
  }

  grouping endpoint-section-capacity {
    description
      "Parameters describing section capacity where section is undestood as number of different sectionId values";
    leaf max-control-sections-per-data-section {
      type uint8 {
        range "1..12";
      }
      des

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
cription
        "Max number of C-plane sections (C-plane section is part of C-plane message that carries 'section fields')
         referring to same U-plane section (U-plane section is part of U-plane message that carries
         'section header fields' and 'PRB fields') that is supported by endpoint.
         Note that additional limitations specific for each section type apply on top of this number.";
    }

    leaf max-sections-per-symbol {
      type uint16;
      description
        "Max number of sections within one symbol that can be processed by endpoint
         or processed collectively by group of endpoints sharing capacity";
    }

    leaf max-sections-per-slot {
      type uint16;
      description
        "Max number of sections within one slot that can be processed by endpoint
         or processed collectively by group of endpoints sharing capacity.";
    }

    leaf max-remasks-per-section-id {
      type uint8 {
        range "1..12";
      }
      default "12";
      description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  "maximum number of different reMask values that is applied to a PRB
         within one section id. This value can be processed by endpoint
         or processed collectively by group of endpoints sharing capacity";
    }
  }

  grouping endpoint-beam-capacity {
    description
      "Parameters describing beam capacity where number of beams is understood as number of different beamId values";
    leaf max-beams-per-symbol {
      type uint16;
      description
        "Max number of beams within one symbol that can be processed by endpoint
         or processed collectively by group of endpoints sharing capacity";
    }

    leaf max-beams-per-slot {
      type uint16;
      description
        "Max number of beams within one slot that can be processed by endpoint
         or processed collectively by group of endpoints sharing capacity";
    }
  }

  grouping endpoint-prb-capacity {
    description
      "Attributes presenting processing capacity related to PRB.";
    leaf max-prb-per-symbol {
      type

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
uint16;
      description
        "Max number of prbs within one symbol that can be processed by endpoint
         or processed collectively by group of endpoints sharing capacity";
    }
  }

  grouping endpoint-numerology-capacity {
    description
      "Attributes presenting processing capacity related to numerology.

       This leaf contains valid data only when multiple-numerology-supported
       is set to true.";
    leaf max-numerologies-per-symbol {
      type uint16;
      description
        "Max number of numerologies within one symbol that can be processed by endpoint
         or processed collectively by group of endpoints sharing capacity";
    }
  }

  grouping uplane-conf-group {
    description
      "Grouping for uplane configuration related parameters";
    list low-level-tx-links {
      key "name";
      description
        "Object model for low-level-tx-link configuration";
      leaf name {
        type string;
        description
          "Unique name of low-level-tx-link object.";

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

      }

      leaf processing-element {
        type leafref {
          path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
        }
        mandatory true;
        description
          "Contains name of processing-element to be used as transport by low-level-tx-link";
      }

      leaf tx-array-carrier {
        type leafref {
          path "/user-plane-configuration/tx-array-carriers/name";
        }
        mandatory true;
        description
          "Contains name of tx-array-carriers MO to be used as transport by low-level-tx-link";
      }

      leaf low-level-tx-endpoint {
        type leafref {
          path "/user-plane-configuration/low-level-tx-endpoints/name";
        }
        mandatory true;
        description
          "Contains name of low-level-tx-endpoints MO to be used as transport by low-level-tx-link";
      }
    }

    list low-level-rx-links {
      key "name";
      description
        "Object model for low-level-rx-links configuration";
      leaf na

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
me {
        type string;
        description
          "Unique name of low-level-rx-links object.";
      }

      leaf processing-element {
        type leafref {
          path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
        }
        mandatory true;
        description
          "Contains name of processing-element to be used as transport by LowLevelTxLink";
      }

      leaf rx-array-carrier {
        type leafref {
          path "/user-plane-configuration/rx-array-carriers/name";
        }
        mandatory true;
        description
          "Contains name of rx-array-carriers MO to be used as transport by low-level-rx-links";
      }

      leaf low-level-rx-endpoint {
        type leafref {
          path "/user-plane-configuration/low-level-rx-endpoints/name";
        }
        mandatory true;
        description
          "Contains name of low-level-rx-endpoints MO to be used as transport by low-level-rx-links";
      }

      leaf user-plane-uplink-marking {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
type leafref {
          path "/o-ran-pe:processing-elements/o-ran-pe:enhanced-uplane-mapping/o-ran-pe:uplane-mapping/o-ran-pe:up-marking-name";
        }
        description
          "Parameter to set the non-default marking for user-plane";
      }
    }

    list endpoint-types {
      key "id";
      config false;
      description
        "Properties of endpoint that are common to multiple endpoints if such are identified";
      leaf id {
        type uint16;
        description
          "Identifies type of endpoints sharing same properties. Values shall start with 0 and shall be allocated without gaps.";
      }

      list supported-section-types {
        key "section-type";
        description
          "Indicates section types and extensions endpoints of this type support";
        leaf section-type {
          type uint8;
          description
            "This parameter determines the characteristics of U-plane data to be transferred or received from a beam with one pattern id.";
        }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     leaf-list supported-section-extensions {
          type uint8;
          description
            "This parameter provides the extension types supported by the O-RU
             which provides additional parameters specific to the subject data extension";
        }
      }

      leaf-list supported-frame-structures {
        type uint8;
        description
          "List of supported values of frame structure";
      }

      leaf managed-delay-support {
        type enumeration {
          enum "MANAGED" {
            description
              "Time managed delays are supported";
          }
          enum "NON_MANAGED" {
            description
              "Non time managed delays are not supported";
          }
          enum "BOTH" {
            description
              "Both time managed and non time managed delays are supported";
          }
        }
        description
          "Type of delay supported by the endpoint";
      }

      leaf multiple-numerology-supported {
        type boolean

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
        default "true";
        description
          "Indicates whether the endpoint type supports multiple numerologies";
      }

      leaf max-numerology-change-duration {
        type uint16 {
          range "0..10000";
        }
        units "Ts";
        description
          "Maximum gap of endpoint operation that will be caused by changing of
           numerology.

           This time is required for reconfiguration and flushing of pipes.

           This leaf contains valid data only when multiple-numerology-supported
           is set to true.";
      }

      uses endpoint-section-capacity;

      uses endpoint-beam-capacity;

      uses endpoint-prb-capacity;

      leaf-list prb-capacity-allocation-granularity {
        type uint16;
        description
          "List of capacity allocation steps. O-RU allocates PRB capacity rounding it up to nearest value N
           from prb-capacity-allocation-granularity such that M &gt;= number-of-prb-per-scs.
           See also number-of-prb-per-s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
cs/number-of-prb.";
      }

      uses endpoint-numerology-capacity;
    }

    list endpoint-capacity-sharing-groups {
      key "id";
      config false;
      description
        "Represents groups of endpoints that share capacity. Depending on O-RU implementation,
         processing resources that handle CU-plane (e.g. memory to keep sections and beams)
         could be allocated per endpoint or shared between several endpoints.
         To address this O-RU shall reports own capability per endpoint (see endpoint-types)
         and per group of endpoints sharing capacity.
         If endpoint is in multiple groups then resulting constraint is minimum over all groups.
         Note: values of parameters representing capacity that is not shared between endpoints in a group shall be set to max value of specific parameter; this effectively removes related constraint.";
      leaf id {
        type uint16;
        description
          "Identifies group of endpoints sharing resources.
           Values sha

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ll start with 0 and shall be allocated without gaps.";
      }

      uses endpoint-section-capacity;

      uses endpoint-beam-capacity;

      uses endpoint-prb-capacity;

      uses endpoint-numerology-capacity;

      leaf max-endpoints {
        type uint16;
        description
          "Indicates how many endpoints in the group can be used4 simultaneously";
      }

      leaf max-managed-delay-endpoints {
        type uint16;
        description
          "Number of endpoints supporting managed delay that can be used (configured for use) at a time";
      }

      leaf max-non-managed-delay-endpoints {
        type uint16;
        description
          "Number of endpoints supporting non-managed delay that can be used (configured for use) at a time";
      }
    }

    list endpoint-prach-group {
      key "id";
      config false;
      description
        "Represents group of a series of PRACH preamble formats";
      leaf id {
        type uint16;
        description
          "Identifies group of

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
PRACH preamble formats.";
      }

      leaf-list supported-prach-preamble-formats {
        type prach-preamble-format;
        min-elements 1;
        description
          "the list of PRACH preamble formats supported by the endpoint-type that is
           applicable to static-low-level-rx-endpoints in the O-RU";
      }
    }

    list static-low-level-tx-endpoints {
      key "name";
      config false;
      description
        "Object model for static-low-level-tx-endpoints configuration";
      leaf name {
        type string;
        description
          "Unique name of static-low-level-tx-endpoints object.";
      }

      leaf-list restricted-interfaces {
        type leafref {
          path "/if:interfaces/if:interface/if:name";
        }
        description
          "Optionally used to indicate that a low-level link is constrained to operate only via a subset of the available interfaces.";
      }

      leaf array {
        type leafref {
          path "/user-plane-configuration/tx-arrays/

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
name";
        }
        mandatory true;
        description
          "Contains distname of tx-arrays, particular low-level-tx-endpoints is in hardware dependency with.
           Note: single instance of tx-arrays can be referenced by many instances of low-level-tx-endpoints
           (e.g. to allow DU to handle multiple fronthauls and multiple component carriers).";
      }

      leaf endpoint-type {
        type leafref {
          path "../../endpoint-types/id";
        }
        description
          "Reference to endpoint type capabilities list element supported by this endpoint";
      }

      leaf-list capacity-sharing-groups {
        type leafref {
          path "../../endpoint-capacity-sharing-groups/id";
        }
        description
          "Reference to capacities of sharing-groups supported by this endpoint";
      }
    }

    list static-low-level-rx-endpoints {
      key "name";
      config false;
      description
        "Object model for static-low-level-rx-endpoints configuration

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
";
      leaf name {
        type string;
        description
          "Unique name of static-low-level-rx-endpoints object.";
      }

      leaf-list restricted-interfaces {
        type leafref {
          path "/if:interfaces/if:interface/if:name";
        }
        description
          "Optionally used to indicate that a low-level link is constrained to operate only via a subset of the available interfaces.";
      }

      leaf array {
        type leafref {
          path "/user-plane-configuration/rx-arrays/name";
        }
        mandatory true;
        description
          "Contains distname of rx-arrays, particular low-level-rx-endpoints is in hardware dependency with.
           Note: single instance of rx-arrays can be referenced by many instances of low-level-rx-endpoints
           (e.g. to allow DU to handle multiple fronthauls and multiple component carriers).";
      }

      leaf endpoint-type {
        type leafref {
          path "../../endpoint-types/id";
        }
        descripti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on
          "Reference to endpoint type capabilities list element supported by this endpoint";
      }

      leaf-list capacity-sharing-groups {
        type leafref {
          path "../../endpoint-capacity-sharing-groups/id";
        }
        description
          "Reference to capacities of sharing-groups supported by this endpoint";
      }

      leaf prach-group {
        type leafref {
          path "../../endpoint-prach-group/id";
          require-instance false;
        }
        description
          "An optional leaf used for those rx endpoints that support PRACH, indicating
           the group id describing the set of of PRACH preambles supported";
      }
    }

    list low-level-tx-endpoints {
      key "name";
      description
        "Object model for low-level-tx-endpoints configuration - augmented static-low-level-tx-endpoints by local-address
         which cannot be added to static low-level-tx-endpoints as we cannot have modificable element in static object";
      leaf name {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     type leafref {
          path "/user-plane-configuration/static-low-level-tx-endpoints/name";
          require-instance false;
        }
        mandatory true;
        description
          "Unique name of low-level-tx-endpoint object. Reference to static object";
      }

      container compression {
        presence "This container shall exists to avoid missaligned compression
         methods between devices";
        description
          "Container which consists of global configurable parameters for compression";
        uses cf:compression-details;
      }

      uses scs-config;

      container e-axcid {
        description
          "Contains local address of low level TX endpoint offered by Netconf server.";
        uses eaxc;
      }
    }

    list low-level-rx-endpoints {
      key "name";
      description
        "Object model for low-level-rx-endpoint configuration - augmented static-low-level-rx-endpoints by local-address
         which cannot be added to static low-level-rx-endpoint

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
s as we cannot have modificable element in static object";
      leaf name {
        type leafref {
          path "/user-plane-configuration/static-low-level-rx-endpoints/name";
          require-instance false;
        }
        mandatory true;
        description
          "Unique name of low-level-rx-endpoint object. Reference to static object";
      }

      container compression {
        description
          "Container which consists of global configurable parameters for compression";
        uses cf:compression-details;
      }

      uses scs-config;

      list ul-fft-sampling-offsets {
        key "scs";
        description
          "List of FFT sampling offsets configured for each SCS that will be used.
           Client shall configure one element for each SCS that will be used.";
        leaf scs {
          type mcap:scs-config-type;
          description
            "Value corresponds to SCS values defined for frameStructure in C-plane
             Note: set of allowed values is restricted

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
by SCS derived from values in supported-frame-structures.";
        }

        leaf ul-fft-sampling-offset {
          type uint16;
          units "Ts";
          description
            "Determines time advance of capture window for FFT.
             Value represents time advance of capture window start in relation to the end of CP. Unit is Ts.
             Note: value of this parameter is usually set to '0' (zero) for PRACH channels.
             Any phase offset resulting from the non-zero value of this parameter is handled in O-DU.";
        }
      }

      container e-axcid {
        description
          "Contains local address of low level RX endpoint offered by Netconf server.";
        uses eaxc;
      }

      leaf non-time-managed-delay-enabled {
        type boolean;
        default "false";
        description
          "Tells if non time managed delay shall be enabled";
      }
    }

    list tx-array-carriers {
      key "name";
      description
        "Object model for tx-array-carriers c

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
onfiguration";
      leaf name {
        type string;
        description
          "Unique name of tx-array-carriers object.";
      }

      uses tx-common-array-carrier-elements;

      leaf band-number {
        if-feature "mcap:LAA";
        type leafref {
          path "/mcap:module-capability/mcap:band-capabilities/mcap:band-number";
          require-instance false;
        }
        description
          "This parameter informing which frequency band particular antenna
           array is serving for.
           Intended use is to deal with multiband solutions.";
      }

      container lte-tdd-frame {
        when "(/user-plane-configuration/tx-array-carriers/rw-type = 'LTE') and  (/user-plane-configuration/tx-array-carriers/rw-duplex-scheme = 'TDD')";
        description
          "Container which consists of global configurable parameters for tdd Frame";
        leaf subframe-assignment {
          type enumeration {
            enum "SAO" {
              description
                "subframe as

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
signment configuration 0";
            }
            enum "SA1" {
              description
                "subframe assignment configuration 1";
            }
            enum "SA2" {
              description
                "subframe assignment configuration 2";
            }
            enum "SA3" {
              description
                "subframe assignment configuration 3";
            }
            enum "SA4" {
              description
                "subframe assignment configuration 4";
            }
            enum "SA5" {
              description
                "subframe assignment configuration 5";
            }
            enum "SA6" {
              description
                "subframe assignment configuration 6";
            }
          }
          mandatory true;
          description
            "Indicates DL/UL subframe configuration as specified in
             3GPP TS 36.211 [v15.3.0, table 4.2-2]";
        }

        leaf special-subframe-pattern {
          type enumeration {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          enum "SPP0" {
              description
                "special subframe pattern configuration 0";
            }
            enum "SPP1" {
              description
                "special subframe pattern configuration 1";
            }
            enum "SPP2" {
              description
                "special subframe pattern configuration 2";
            }
            enum "SPP3" {
              description
                "special subframe pattern configuration 3";
            }
            enum "SPP4" {
              description
                "special subframe pattern configuration 4";
            }
            enum "SPP5" {
              description
                "special subframe pattern configuration 5";
            }
            enum "SPP6" {
              description
                "special subframe pattern configuration 6";
            }
            enum "SPP7" {
              description
                "special subframe pattern configuration 7";
            }
            enum "

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
SPP8" {
              description
                "special subframe pattern configuration 8";
            }
            enum "SPP9" {
              description
                "special subframe pattern configuration 9";
            }
            enum "SPP10" {
              description
                "special subframe pattern configuration 10";
            }
          }
          mandatory true;
          description
            "Indicates TDD special subframe configuration as in TS 36.211
             [v15.3.0, table 4.2-1] ";
        }
      }

      container laa-carrier-configuration {
        when "../band-number = 46";
        if-feature "mcap:LAA";
        description
          "Container to specify LAA feature related carrier configuration.";
        uses laa-carrier-config;
      }

      leaf gain {
        type decimal64 {
          fraction-digits 4;
        }
        units "dB";
        mandatory true;
        description
          "Transmission gain in dB. Value applicable to each array element

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 carrier belonging to array carrier.";
      }

      leaf downlink-radio-frame-offset {
        type uint32 {
          range "0..12288000";
        }
        mandatory true;
        description
          "This parameter is used for offsetting the starting position of 10ms radio frame.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.
           Note2: Unit is 1/1.2288e9 Hz and accuracy is 1/4 Tc. Then, its range is calculated 0..12288000.";
      }

      leaf downlink-sfn-offset {
        type int16 {
          range "-32768..32767";
        }
        mandatory true;
        description
          "This parameter is used for offsetting SFN value.
           Unit is in 10ms.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.";
      }
    }

    list rx-array-carriers {
      key "name";
      description
        "Object model for rx-array-carriers configurati

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
on";
      leaf name {
        type string;
        description
          "Unique name of rx-array-carriers object.";
      }

      uses rx-common-array-carrier-elements;

      leaf downlink-radio-frame-offset {
        type uint32 {
          range "0..12288000";
        }
        mandatory true;
        description
          "This parameter is used for offsetting the starting position of 10ms radio frame.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.
           Note2: Unit is 1/1.2288e9 Hz and accuracy is 1/4 Tc. Then, its range is calculated 0..12288000.";
      }

      leaf downlink-sfn-offset {
        type int16 {
          range "-32768..32767";
        }
        mandatory true;
        description
          "This parameter is used for offsetting SFN value.
           Unit is in 10ms.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.";
      }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     leaf gain-correction {
        type decimal64 {
          fraction-digits 4;
        }
        units "dB";
        mandatory true;
        description
          "Gain correction of RF path linked with array element or array layers";
      }

      leaf n-ta-offset {
        type uint32;
        units "Tc";
        mandatory true;
        description
          "Value of configurable N-TA offset
           units are Tc=~0.5ns=1/1.96608GHz";
      }
    }

    list tx-arrays {
      key "name";
      config false;
      description
        "Structure describing TX array parameters";
      uses parameters;

      leaf max-gain {
        type decimal64 {
          fraction-digits 4;
        }
        units "dB";
        mandatory true;
        description
          "Max gain of RF path linked with array element (minimum over elements of array) or array layers";
      }

      leaf independent-power-budget {
        type boolean;
        mandatory true;
        description
          "If true then every element

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 of array has own, power budget independent from power budget of other elements.
           Else all elements of array that are at same row and column and have same polarization share power budget";
      }

      list capabilities {
        description
          "List of capabilities related to this tx-array";
        uses mcap:support-for-dl;
      }
    }

    list rx-arrays {
      key "name";
      config false;
      description
        "Structure describing RX array parameters";
      uses parameters;

      container gain-correction-range {
        description
          "Array gain correction factor";
        leaf max {
          type decimal64 {
            fraction-digits 4;
          }
          units "dB";
          mandatory true;
          description
            "Array gain correction factor - maximum allowed value";
        }

        leaf min {
          type decimal64 {
            fraction-digits 4;
          }
          units "dB";
          mandatory true;
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  "Array gain correction factor - minimum allowed value";
        }
      }

      list capabilities {
        description
          "List of capabilities related to this rx-array";
        uses mcap:support-for-ul;
      }
    }

    list relations {
      key "entity";
      config false;
      description
        "Structure describing relations between array elements";
      leaf entity {
        type uint16;
        description
          "Relation entity. Used as a key for list of relations.";
      }

      container array1 {
        description
          "Defnes name for first array";
        uses array-choice;
      }

      container array2 {
        description
          "Defnes name for second array";
        uses array-choice;
      }

      list types {
        key "relation-type";
        description
          "Defines relation type and pairs for array elements for given arrays";
        leaf relation-type {
          type enumeration {
            enum "SHARED" {
              description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          "SHARED";
            }
            enum "COALOCATED" {
              description
                "COALOCATED";
            }
          }
          description
            "Type of relation between array elements";
        }

        list pairs {
          key "element-array1";
          description
            "defines related array elements";
          leaf element-array1 {
            type uint16;
            description
              "Tells about id of element from array1";
          }

          leaf element-array2 {
            type uint16;
            description
              "Tells about id of element from array2";
          }
        }
      }
    }

    container eaxc-id-group-configuration {
      if-feature "mcap:EAXC-ID-GROUP-SUPPORTED";
      description
        "This is the container for eAxC ID group configuration.";
      leaf max-num-tx-eaxc-id-groups {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-nu

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
m-tx-eaxc-id-groups";
          require-instance false;
        }
      }

      leaf max-num-tx-eaxc-ids-per-group {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-tx-eaxc-ids-per-group";
          require-instance false;
        }
      }

      leaf max-num-rx-eaxc-id-groups {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-rx-eaxc-id-groups";
          require-instance false;
        }
      }

      leaf max-num-rx-eaxc-ids-per-group {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-rx-eaxc-ids-per-group";
          require-instance false;
        }
      }

      list tx-eaxc-id-group {
        must "count(../tx-eaxc-id-group) &lt;= ../max-num-tx-eaxc-id-groups" {
          error-message
            "too many tx-eaxcid-id groups";
        }
        key "repr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
esentative-tx-eaxc-id";
        description
          "This is a list of the groups of the eAxC IDs assigned to low-level-tx-endpoints.
           Each group is a union of the 'member-tx-eaxc-id's and a 'representative-tx-eaxc-id'.
           The low-level-tx-endpoint associated to 'representative-tx-eaxc-id' is able to
           process the DL C-plane information for all the low-level-tx-endpoints associated
           to 'member-tx-eaxc-id's.

           Take Note: This list should only contain eAxC IDs assigned to a tx-endpoint.";
        leaf representative-tx-eaxc-id {
          type uint16;
          description
            "This parameter contains eAxC_ID that populates content of C-Plane section
             extension 11 to eAxC_IDs configured in the group as 'member-tx-eaxc-id'(s).";
        }

        leaf-list member-tx-eaxc-id {
          type uint16;
          must "count(../member-tx-eaxc-id) &lt;= ../../max-num-tx-eaxc-ids-per-group" {
            error-message
              "too many tx-eaxci

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d-id members";
          }
          must "current()!=../representative-tx-eaxc-id" {
            error-message
              "the representative eaxcid does not need to be a list member";
          }
          description
            "This is a list of member eAxC IDs, which together with the representative-tx-eaxc-id,
             are assigned to low-level-tx-endpoints in the group.";
        }
      }

      list rx-eaxc-id-group {
        must "count(../rx-eaxc-id-group) &lt;= ../max-num-rx-eaxc-id-groups" {
          error-message
            "too many rx-eaxcid-id groups";
        }
        key "representative-rx-eaxc-id";
        description
          "This is a list of the groups of the eAxC IDs assigned to low-level-rx-endpoints.
           Each group is a union of 'member-rx-eaxc-id's and a 'representative-rx-eaxc-id'.
           The low-level-rx-endpoint associated to 'representative-rx-eaxc-id' is able to
           process the UL C-plane information for all the low-level-rx-endpoints associated


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          to 'member-rx-eaxc-id's.

           Take Note: This list should only contain eAxC IDs assigned to a rx-endpoint.";
        leaf representative-rx-eaxc-id {
          type uint16;
          description
            "This parameter contains eAxC_ID that populates content of C-Plane section
             extension 11 to eAxC_IDs configured in the group as 'member-rx-eaxc-id'(s).";
        }

        leaf-list member-rx-eaxc-id {
          type uint16;
          must "count(../member-rx-eaxc-id) &lt;= ../../max-num-rx-eaxc-ids-per-group" {
            error-message
              "too many rx-eaxcid-id members";
          }
          must "current()!=../representative-rx-eaxc-id" {
            error-message
              "the representative eaxcid does not need to be a list member";
          }
          description
            "This is a list of member eAxC IDs assigned to low-level-rx-endpoints in the group.";
        }
      }
    }
  }

  grouping tx-array-notification-group {
    description
      "G

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rouping for tx-array for notification";
    list tx-array-carriers {
      key "name";
      description
        "notification of state change for tx-array-carriers";
      leaf name {
        type leafref {
          path "/user-plane-configuration/tx-array-carriers/name";
        }
        description
          "name of tx-array-carriers is notified at state change";
      }

      leaf state {
        type leafref {
          path "/user-plane-configuration/tx-array-carriers/state";
        }
        description
          "state of tx-array-carriers is notified at state change";
      }
    }
  }

  grouping rx-array-notification-group {
    description
      "Grouping for rx-array for notification";
    list rx-array-carriers {
      key "name";
      description
        "Notification used to inform about state change of rx-array-carriers";
      leaf name {
        type leafref {
          path "/user-plane-configuration/rx-array-carriers/name";
        }
        description
          "name of rx-array-c

[INF]: LN: Session 1: sending message:

#834


[INF]: LN: Session 1: sending message:
arriers is notified at state change";
      }

      leaf state {
        type leafref {
          path "/user-plane-configuration/rx-array-carriers/state";
        }
        description
          "state of rx-array-carriers is notified at state change";
      }
    }
  }

  container user-plane-configuration {
    description
      "top level container for user plane configuration";
    uses uplane-conf-group;

    uses general-config;
  }

  notification tx-array-carriers-state-change {
    description
      "Notification used to inform about state change of tx-array-carriers";
    uses tx-array-notification-group;
  }

  notification rx-array-carriers-state-change {
    description
      "Notification used to inform about state change of tx-array-carriers";
    uses rx-array-notification-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="76"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-processing-element</identifier><version>2020-04-18</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-processing-element" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="76"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-processing-element {
  yang-version 1.1;
  namespace "urn:o-ran:processing-element:1.0";
  prefix o-ran-elements;

  import ietf-yang-types {
    prefix yang;
  }

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-interfaces {
    prefix if;
  }

  import ietf-ip {
    prefix ip;
  }

  import o-ran-interfaces {
    prefix o-ran-int;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for mapping of transport flows to
     processing elements. Three options are supported:
     i) virtual MAC based mapping
     ii) MAC addrress + VLAN-ID based mapping
     iii) UDP/IP based mapping

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, IN

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
CLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-04-18 {
    description
      "version 3.0.1

       1) added new enum CPRI-INTERFACE in
         transport-session-type to enable cpri scenario.";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2020-04-17 {
    description
      "version 3.0.0

       1) added new enum SHARED-CELL-ETH-INTERFACE in
         transport-session-type and new containers north-eth-flow and
         south-eth-flow to enable Shared cell scenario.";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 1.1.0

       1) added new leaf t

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
o enable O-RU to report the maximum number of
       transport flows it can support, e.g., due to restrictions on number
       of VLAN-IDs when ethernet type transport is used.";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature SHARED_CELL {
    description
      "Presence of feature indicates that this O-RU is capable to support
       shared cell.";
  }

  grouping pe-group {
    leaf maximum-number-of-transport-flows {
      type uint16 {
        range "1..4094";
      }
      default "4094";
      config false;
      description
        "The maximum number of transport flows that can be supported by an O-RU";
    }

    leaf transport-session-type {
      type enumeration {
        enum "ETH-INTERFACE" {
          description
            "VLAN based CUS Transport ";
        }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     enum "UDPIP-INTERFACE" {
          description
            "UDP/IP based CUS Transport ";
        }
        enum "ALIASMAC-INTERFACE" {
          description
            "Alias MAC address based CUS Transport ";
        }
        enum "SHARED-CELL-ETH-INTERFACE" {
          if-feature "SHARED_CELL";
          description
            "VLAN based CUS Transport used for Shared Cell scenario";
        }
        enum "CPRI-INTERFACE" {
          description
            "CPRI based U-plane Transport for option8 CPRI scenario";
        }
      }
      default "ETH-INTERFACE";
      description
        "the type of transport session used for identifying different processing
         elements";
    }

    container enhanced-uplane-mapping {
      presence "indicates that enhanced uplane mapping is used";
      description
        "a mapping table for enhanced user plane marking";
      list uplane-mapping {
        key "up-marking-name";
        description
          "a mapping between up-link name and o-ran-int

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
erfaces:up-marking-name";
        leaf up-marking-name {
          type string;
          description
            "a unique up marking name that is used for enhanced up marking";
        }

        choice up-markings {
          description
            "U-Plane markings";
          case ethernet {
\n(../../transport-session-type = 'SHARED-CELL-ETH-INTERFACE')";RFACE') or
            leaf up-cos-name {
              type leafref {
                path "/if:interfaces/if:interface/o-ran-int:class-of-service/o-ran-int:enhanced-uplane-markings/o-ran-int:up-marking-name";
              }
              description
                "the Ethernet U-plane transport marking as defined in o-ran-interfaces";
            }
          }

          case ipv4 {
            when "(../../transport-session-type = 'UDPIP-INTERFACE')";
            leaf upv4-dscp-name {
              type leafref {
                p

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ath "/if:interfaces/if:interface/ip:ipv4/o-ran-int:diffserv-markings/o-ran-int:enhanced-uplane-markings/o-ran-int:up-marking-name";
              }
              description
                "the IPv4 U-plane transport marking as defined in o-ran-interfaces";
            }
          }

          case ipv6 {
            when "(../../transport-session-type = 'UDPIP-INTERFACE')";
            leaf upv6-dscp-name {
              type leafref {
                path "/if:interfaces/if:interface/ip:ipv6/o-ran-int:diffserv-markings/o-ran-int:enhanced-uplane-markings/o-ran-int:up-marking-name";
              }
              description
                "the IPv6 U-plane transport marking as defined in o-ran-interfaces";
            }
          }
        }
      }
    }

    list ru-elements {
      key "name";
      description
        "the list of transport definitions for each processing element";
      leaf name {
        type string {
          length "1..255";
        }
        description
          "A name that is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
unique across the O-RU that identifies a processing
           element instance.

           This name may be used in fault management to refer to a fault source
           or affected object";
      }

      container transport-flow {
        description
          "container for the transport-flow used for CU plane";
        leaf interface-name {
          type leafref {
            path "/if:interfaces/if:interface/if:name";
          }
          description
            "the interface name ";
        }

        container aliasmac-flow {
          when "../../../transport-session-type = 'ALIASMAC-INTERFACE'";
          if-feature "o-ran-int:ALIASMAC-BASED-CU-PLANE";
          description
            "leafs for virtual mac type data flows";
          leaf ru-aliasmac-address {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:alias-macs";
            }
            mandatory true;
            description
              "

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
O-RU's alias MAC address used for alias MAC based flow";
          }

          leaf vlan-id {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:vlan-id";
            }
            description
              "O-RU's VLAN-ID used for alias MAC based flow";
          }

          leaf o-du-mac-address {
            type yang:mac-address;
            mandatory true;
            description
              "O-DU's MAC address used for alias MAC based flow";
          }
        }

        container eth-flow {
          when "../../../transport-session-type = 'ETH-INTERFACE'";
          description
            "leafs for mac + vlan-id type data flows";
          leaf ru-mac-address {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:mac-address";
            }
            mandatory true;
            description
              "O-RU's MAC address used for Ethernet base

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d flow";
          }

          leaf vlan-id {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:vlan-id";
            }
            mandatory true;
            description
              "O-RU's VLAN-ID used for Ethernet based flow";
          }

          leaf o-du-mac-address {
            type yang:mac-address;
            mandatory true;
            description
              "O-DU's MAC address used for Ethernet based flow";
          }
        }

        container udpip-flow {
          when "../../../transport-session-type = 'UDPIP-INTERFACE'";
          description
            "leafs for UDP/IP type data flows";
          choice address {
            mandatory true;
            description
              "choice of O-RU IPv4 or IPv6 address";
            leaf ru-ipv4-address {
              type leafref {
                path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/ip:ipv4/ip:address/ip:ip";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
         }
              description
                "O-RU's IPv4 address";
            }

            leaf ru-ipv6-address {
              type leafref {
                path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/ip:ipv6/ip:address/ip:ip";
              }
              description
                "O-RU's IPv6 address";
            }
          }

          leaf o-du-ip-address {
            type inet:ip-address;
            mandatory true;
            description
              "O-DU's IPv address";
          }

          leaf ru-ephemeral-udp-port {
            type inet:port-number;
            mandatory true;
            description
              "ephemeral port used by O-RU";
          }

          leaf o-du-ephemeral-udp-port {
            type inet:port-number;
            mandatory true;
            description
              "ephemeral port used by O-DU";
          }

          leaf ecpri-destination-udp {
            type inet:port-number;
            mandatory true;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          description
              "the well known UDP port number used by eCPRI";
          }
        }

        container north-eth-flow {
          when "../../../transport-session-type = 'SHARED-CELL-ETH-INTERFACE'";
          if-feature "SHARED_CELL";
          description
            "leafs for mac + vlan-id type data flows";
          leaf ru-mac-address {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:mac-address";
            }
            description
              "O-RU's MAC address used for Ethernet based flow";
          }

          leaf vlan-id {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:vlan-id";
            }
            description
              "O-RU's VLAN-ID used for Ethernet based flow";
          }

          leaf north-node-mac-address {
            type yang:mac-address;
            description
              "North-node's

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 MAC address used for Ethernet based flow";
          }
        }

        container south-eth-flow {
          when "../../../transport-session-type = 'SHARED-CELL-ETH-INTERFACE'";
          if-feature "SHARED_CELL";
          description
            "leafs for mac + vlan-id type data flows";
          leaf ru-mac-address {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:mac-address";
            }
            description
              "O-RU's MAC address used for Ethernet based flow";
          }

          leaf vlan-id {
            type leafref {
              path "/if:interfaces/if:interface[if:name = current()/../../interface-name]/o-ran-int:vlan-id";
            }
            description
              "O-RU's VLAN-ID used for Ethernet based flow";
          }

          leaf south-node-mac-address {
            type yang:mac-address;
            description
              "south-node's MAC address used for Ethernet based flo

[INF]: LN: Session 1: sending message:

#417


[INF]: LN: Session 1: sending message:
w";
          }
        }
      }
    }
  }

  container processing-elements {
    description
      "a model defining the mapping between transport flows and arbitrary
       O-RAN processing elements. A processing element may be then defined for
       handling connectivity or delay procedures, or defined with a corresponding
       eaxcid for CU plane operations";
    uses pe-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 1 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="77"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>om-offline-data-management</identifier><version>2020-03-06</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "om-offline-data-management" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="77"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module om-offline-data-management {
  yang-version 1.1;
  namespace "nts:om:offline:1.0";
  prefix om-off-data;

  organization
    "NTS";
  contact
    "www.nts-intl.com";
  description
    "This module defines the offline-data of OM.

     CopyRight NTS Technology (ChengDu) Co., Ltd";

  revision 2020-03-06 {
    description
      "version 1.0.0

       1) define offlene data module";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  container data {
    description
      "OM offline-data container";
    list name_space {
      key "name";
      description
        "Data structs list";
      leaf name {
        type string;
        description
          "Name of the this name_space";
      }

      list struct {
        key "name";
        description
          "Data structs list";
        leaf name {
          type string;
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     "Name of the this structs";
        }

        list value {
          key "name";
          description
            "Data list";
          leaf name {
            type string;
            description
              "Name of the this data";
          }

          leaf type {
            type enumeration {
              enum "bool";
              enum "u8";
              enum "u16";
              enum "u32";
              enum "u64";
              enum "i8";
              enum "i16";
              enum "i32";
              enum "i64";
              enum "str";
            }
            default "str";
            description
              "Type of this data";
          }

          leaf bool {
            when "../type = 'bool'";
            type boolean;
            description
              "true of false";
          }

          leaf u8 {
            when "../type = 'u8'";
            type uint8;
            description
              "uint8  represents integer values between 0 and 255, inclusively.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      }

          leaf u16 {
            when "../type = 'u16'";
            type uint16;
            description
              "uint16  represents integer values between 0 and 65535, inclusively.";
          }

          leaf u32 {
            when "../type = 'u32'";
            type uint32;
            description
              "uint32  represents integer values between 0 and 4294967295, inclusively.";
          }

          leaf u64 {
            when "../type = 'u64'";
            type uint64;
            description
              "uint64  represents integer values between 0 and 18446744073709551615, inclusively.";
          }

          leaf i8 {
            when "../type = 'i8'";
            type int8;
            description
              "int8  represents integer values between -128 and 127, inclusively.";
          }

          leaf i16 {
            when "../type = 'i16'";
            type int16;
            description
              "int16  represents integer values between -32768 and 32767,inclus

[INF]: LN: Session 1: sending message:

#664


[INF]: LN: Session 1: sending message:
ively.";
          }

          leaf i32 {
            when "../type = 'i32'";
            type int32;
            description
              "int32  represents integer values between -2147483648 and 2147483647, inclusively.";
          }

          leaf i64 {
            when "../type = 'i64'";
            type int64;
            description
              "int64  represents integer values between -9223372036854775808 and 9223372036854775807, inclusively";
          }

          leaf str {
            when "../type = 'str'";
            type string;
            description
              "char *";
          }
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="78"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>telnet-on-netconf</identifier><version>2020-05-22</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "telnet-on-netconf" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="78"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module telnet-on-netconf {
  yang-version 1.1;
  namespace "urn:nts:telnet-on-netconf:1.0";
  prefix nts-ton;

  organization
    "NTS Technology (ChengDu) Co., Ltd.";
  contact
    "www.nts-intl.com";
  description
    "This module defines the implementation of Telnet on netconf.

     CopyRight NTS Technology (ChengDu) Co., Ltd.   All Rights Reserved.";

  revision 2020-05-22 {
    description
      "version 1.0.0";
    reference
      "None";
  }

  rpc telnet-input {
    description
      "Content sent to the Telnet server";
    input {
      leaf content {
        type string;
        description
          "A string sent to the Telnet server";
      }
    }
  }

  notification telnet-output {
    description
      "Received content from the Telnet server";
    leaf content {
      type string;
      description
        "Received Telnet server reply string";


[INF]: LN: Session 1: sending message:

#30


[INF]: LN: Session 1: sending message:
   }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="79"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-usermgmt</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-usermgmt" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="79"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-usermgmt {
  yang-version 1.1;
  namespace "urn:o-ran:user-mgmt:1.0";
  prefix o-ran-usermgmt;

  import ietf-netconf-acm {
    prefix nacm;
    reference
      "RFC 8341: Network Configuration Access Control Model";
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the user management model for the O-RAN Equipment.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED T

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
O, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this sof

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tware without specific prior written permission.";

  revision 2019-07-03 {
    description
      "version 1.1.0

       1) change name leaf to type nacm:user-name-type
       2) added account-type to qualify when password is required ";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  typedef password-type {
    type string {
      length "8..128";
      pattern "[a-zA-Z0-9!$%\\^()\\[\\]_\\-~{}.+]*" {
        error-message
          "Password content does not meet the requirements";
      }
    }
    description
      "The password for this entry. This shouldn't be in clear text
       The Password must contain at least 2 characters from
       each of the following groups:
       a) Lower case alphabetic (a-z)
       b) Upper case alphabetic (A-Z)
       c) Numeric 0-9
       d) Special characters Allow

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ed !$%^()[]_-~{}.+
       Password must not contain Username.";
  }

  grouping user-list {
    list user {
      key "name";
      description
        "The list of local users configured on this device.";
      leaf name {
        type nacm:user-name-type;
        description
          "The user name string identifying this entry.

           NOTE: o-ran-usermgmt:user-profile/user/name is
           identical to nacm:nacm/groups/group/user-name
           but the current schema is preserved for backwards
           compatibility.";
      }

      leaf account-type {
        type enumeration {
          enum "PASSWORD" {
            description
              "the user-name is for password based authentication";
          }
          enum "CERTIFICATE" {
            description
              "the user-name is for certificate based authentciation";
          }
        }
        default "PASSWORD";
      }

      leaf password {
        nacm:default-deny-all;
        type password-type;
        description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     "The password for this entry.

           This field is only valid when account-type is NOT set to CERTIFICATE,
           i.e., when account-type is NOT present or present and set to
           PASSWORD.";
      }

      leaf enabled {
        type boolean;
        description
          "Indicates whether an account is enabled or disabled.";
      }
    }
  }

  container users {
    must "user/enabled='true'" {
      error-message
        "At least one account needs to be enabled.";
    }
    description
      "list of user accounts";
    uses user-list;
  }

  rpc chg-password {
    nacm:default-deny-all;
    input {
      leaf currentPassword {
        type password-type;
        mandatory true;
        description
          "provide the current password";
      }

      leaf newPassword {
        type password-type;
        mandatory true;
        description
          "provide a new password";
      }

      leaf newPasswordConfirm {
        type password-type;
        mandatory true;
        descr

[INF]: LN: Session 1: sending message:

#513


[INF]: LN: Session 1: sending message:
iption
          "re-enter the new password ";
      }
    }

    output {
      leaf status {
        type enumeration {
          enum "Successful" {
            value 1;
          }
          enum "Failed" {
            value 2;
          }
        }
        mandatory true;
        description
          "Successful or Failed";
      }

      leaf status-message {
        type string;
        description
          "Gives a more detailed reason for success / failure";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="80"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-delay-management-ru-cpri</identifier><version>2020-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-delay-management-ru-cpri" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="80"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-delay-management-ru-cpri {
  yang-version 1.1;
  namespace "urn:o-ran:delay-ru-cpri:1.0";
  prefix o-ran-delay-ru-cpri;

  import ietf-interfaces {
    prefix if;
  }

  import o-ran-interfaces-cpri {
    prefix o-ran-int-cpri;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module covers off aspects of O-DU to O-RU delay management,
     including config data related to O-RU transmission and reception
     windows.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Mem

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
bers of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.

     How to:
        Step1: DU get delay profile(ru-delay-profile) by means of rpc get-config
        Step2: DU get t14 from CPRI master(HUB or itself)
        Step3: DU cal the delay config
        Step4: DU config cpri link related paras(ru-delay-config-cpri-link-related) to RU,
               by means of rpc edit-config.
        Step5: DU config data flow delay config(ru-delay-config-data-flow-related) to RU,
               by means of rpc edit-config.

     ";

  revision 2020-07-03 {
    description
      "version 1.1.0

       1) create";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  typedef radio-technology {
    type enumeration {
      enum "COMMON" {
        description
          "COMMON radio types in this RU use the same ru-delay-profile-radio-related ";
      }
      enum "NR" {

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

        description
          "NR is supported.";
      }
      enum "LTE" {
        description
          "LTE is supported.";
      }
      enum "NBIoT" {
        description
          "NBIoT is supported.";
      }
    }
    description
      "Radio technology, where COMMON means there is no delay difference between technologys.";
  }

  typedef bandwidth {
    type uint32 {
\n| 200000 | 400000";00 | 60000 | 70000 | 80000 | 90000 | 1000000 | 25000 |
    }
    units "kilohertz";
    description
      "transmission bandwidth configuration in units of kHz -
       covering NBIoT through to New Radio - see 38.104.
       Besides, bandwidth = 0 means bandwidth doesn't lead to difference here.
       ";
  }

  grouping delay-related-radio-feature {
    description
      "Delay related radio feature";
    leaf radio-technology {
      type radio-technology;
      description
        "radio technology name";
    }

    leaf

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
bandwidth {
      type bandwidth;
      description
        "transmission bandwidth configuration in units of kHz -
         covering NBIoT through to New Radio - see 38.104";
    }

    leaf subcarrier-spacing {
      type uint32 {
        range "0 .. 240000 ";
      }
      units "Hertz";
      description
        "subcarrier spacing in Hz.
         Normally, 15000 30000 60000 ... is used. Besides, 0 means it doesn't lead to difference";
    }
  }

  grouping ru-delay-profile-radio-related {
    description
      "Grouping for RRU delay profile which may be related to radio feature";
    leaf t2a {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "RRU Access Main DownLink Time Delay ";
    }

    leaf ta3 {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "RRU Access Main UpLink Time Delay ";
    }

    leaf t-cal-rru-dl-max {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    "RRU's maximum DL Delay compensation ";
    }

    leaf t-cal-rru-ul-max {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "RRU's maximum UL Delay compensation ";
    }
  }

  grouping ru-delay-profile-common {
    description
      "Grouping for RRU delay profile which is identical in the O-RU";
    leaf t-offset {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "CPRI delay from R2 to R3, ref to CPRI V7.0";
    }
  }

  grouping ru-delay-profile-cascade-related {
    description
      "Grouping for RRU delay profile which are related to cpri cascade";
    leaf tbdelay-dl {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "CPRI DL passthrough delay";
    }

    leaf tbdelay-ul {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "CPRI UL passthrough delay";
    }

    leaf N {
      type uint32;
      units "nanoseconds";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
mandatory true;
      description
        "CPRI delay para N, ref to CPRI V7.0";
    }
  }

  container ru-delay-profile {
    config false;
    description
      "RU delay profile";
    list ru-delay-profile-list-radio-related {
      key "radio-technology bandwidth subcarrier-spacing";
      config false;
      description
        "Delay paras related with radio feature,
         1) When radio-technology = COMMON, RU only have one set of radio related para defined.
         2) When radio-technology != COMMON, DU can get a list of para set,
            with key (radio-technology bandwidth subcarrier-spacing) for each.
         3) Detailed examples:
            case a: O-RU only have one set of delay paras,.
                    COMMON  0  0  t2a ta3 ...
            case b: LTE use one set of delay paras, NR use another set of paras.
                    LTE 0 0 ...
                    NR  0 0 ...
            case c: LTE NR use 2 set of delay paras...
                    LTE   5000 15000 ...


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
              LTE  10000 15000 ...
                    NR  100000 30000 ...
                    ...
            ...
            etc.
         ";
      uses delay-related-radio-feature;

      uses ru-delay-profile-radio-related;
    }

    uses ru-delay-profile-common;
  }

  container ru-delay-config-cpri-link-related {
    description
      "CPRI link related config";
    list CPRI-link-related-config {
      key "port-name";
      description
        "Array of structures containing sets of parameters for delay management.";
      leaf port-name {
        type leafref {
          path "/if:interfaces/if:interface/o-ran-int-cpri:cpri-interface/o-ran-int-cpri:port-reference/o-ran-int-cpri:port-number";
        }
        mandatory true;
        description
          "The delay configuration is performed on the primary fiber and the
           secondary/standby fiber";
      }

      leaf t12 {
        type uint32;
        units "nanoseconds";
        mandatory true;
        description
          "t12, f

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rom original CPRI master R1 to RU's R2";
      }

      leaf t34 {
        type uint32;
        units "nanoseconds";
        mandatory true;
        description
          "t34, from RU's R3 original CPRI master R4";
      }

      leaf TR1-offset {
        type int32;
        units "Tc";
        mandatory false;
        description
          "Offset of CPRI frame header to GPS time,unit is CPRI chip, 1/3.84MHz";
      }
    }
  }

  container ru-delay-config-data-flow-related {
    description
      "Data flow related config.
       Each data flow is described seperately, with accordance to the global IQ data flow management.
       DL, UL is described seperately, because DL and UL my use different eaxc-id.
       ";
    list dl_cal_ru_list {
      key "eaxc-id";
      description
        "Ru DL cal delay cfg";
      leaf eaxc-id {
        type uint16;
        mandatory true;
        description
          "eaxc-id, which represents data flow of 1 specific carrier antenna";
      }

      leaf t_cal_dl {


[INF]: LN: Session 1: sending message:

#887


[INF]: LN: Session 1: sending message:
      type uint32;
        units "nanoseconds";
        mandatory true;
        description
          "dl cal delay cfg, for data flow of 1 specific carrier antenna";
      }

      leaf DL-offset {
        type int32;
        units "Tc";
        mandatory true;
        description
          "Offset of IQ frame header to CPRI frame header,unit is CPRI chip, 1/3.84MHz";
      }
    }

    list ul_cal_ru_list {
      key "eaxc-id";
      description
        "Ru UL cal delay cfg";
      leaf eaxc-id {
        type uint16;
        mandatory true;
        description
          "eaxc-id, which represents data flow of 1 specific carrier antenna";
      }

      leaf t_cal_ul {
        type uint32;
        units "nanoseconds";
        mandatory true;
        description
          "ul cal delay cfg, for data flow of 1 specific carrier antenna";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="81"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-interfaces-cpri</identifier><version>2020-04-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-interfaces-cpri" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="81"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-interfaces-cpri {
  yang-version 1.1;
  namespace "urn:o-ran:interfaces-cpri:1.0";
  prefix o-ran-int-cpri;

  import ietf-inet-types {
    prefix inet;
  }

  import ietf-interfaces {
    prefix if;
  }

  import ietf-hardware {
    prefix hw;
  }

  import ietf-yang-types {
    prefix yang;
  }

  import iana-hardware {
    prefix ianahw;
  }

  import o-ran-if-type {
    prefix oranift;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for managng the O-RAN
     interfaces.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials prov

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-04-03 {
    description
      "version 1.0.0
       1) Add CPRI Int";
    reference
      "ORAN-WG4.M.0-v03.00";
  }

  feature CPRI-INTERFACE {
    description
      "This feature indicates that the RU supports the CPRI interface";
  }

  grouping cpri-startup-status-group {
    container cpri-startup-status {
      config false;
      description
        "This MO defines CPRI status.";
      leaf cpri-startup-state {
        type enumeration {
          enum "DISABLE" {
            description
              "DISABLE, reflects cpri status Non-F";
          }
          enum "ENABLE" {
            description
              "ENABLE, reflects cpri status F";
          }
        }
        description
          "This parameter indicates CPRI start-up status.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 }
    }
  }

  grouping cpri-link-status-group {
    container cpri-link-status {
      config false;
      description
        "This MO defines CPRI Link status.";
      leaf cpri-link-state {
        type enumeration {
          enum "NORMAL" {
            description
              "link state is Normal";
          }
          enum "ABNORMAL" {
            description
              "link state is abnormal";
          }
        }
        description
          "This parameter indicates CPRI Link status.";
      }
    }
  }

  container cpri-status {
    config false;
    description
      "Main containter for cpri link related parameters";
    uses cpri-startup-status-group;

    uses cpri-link-status-group;
  }

  augment "/if:interfaces/if:interface" {
    when "if:type = 'oranift:cpri'" {
      description
        "Applies to cpri interfaces";
    }
    description
      "Augment the interface model with parameters for CPRI interfaces.";
    container cpri-interface {
      leaf mac-address {
        type

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 yang:mac-address;
        description
          "The MAC address of the interface.";
      }

      container port-reference {
        description
          "a port reference used by other O-RAN modules";
        leaf port-name {
          type leafref {
            path "/hw:hardware/hw:component/hw:name";
          }
          must "derived-from-or-self(deref(current())/../hw:class, 'ianahw:port')";
          description
            "O-RAN interfaces use a reference to a physical port component.
             In this case, the component name referenced must be of class type
             port, i.e., when /hw:hardware/hw:component/hw:class is derived from
             ianahw:port";
        }

        leaf port-number {
          type uint8;
          description
            "A number allocated by the server which identifies a port.
             Port number value is 0 to N-1 where N is number of ports
             in the device.
             This value is fixed for the lifetime of the equipment, i.e., cannot b

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e
             changed during equipment reboots.";
        }

        container cpri-config {
          if-feature "CPRI-INTERFACE";
          description
            "This MO defines configuration of  CPRI Interface.";
          leaf port-mode {
            if-feature "CPRI-INTERFACE";
            type enumeration {
              enum "MASTER";
              enum "SLAVE";
              enum "UNKNOW";
            }
          }

          leaf cpri-version {
            type string {
              length "3";
              pattern "[1-9].[1-9]";
            }
            description
              "This parameter  indicates CPRI protocol version";
          }

          leaf line-bit-rate {
            type decimal64 {
              fraction-digits 18;
            }
            description
              "This parameter  indicates CPRI rate";
          }

          leaf ethernet-pointer {
            type uint8 {
              range "0..63";
            }
            description
              "pointer to start o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
f fast C&amp;M";
          }

          leaf samplewidth {
            type uint8 {
              range "1..16";
            }
            description
              "IQ sample width 1-16 bits";
          }

          leaf linecoding {
            type enumeration {
              enum "LC8B10B";
              enum "LC64B66B";
              enum "LC64B66BRSFEC";
              enum "UNKNOW";
            }
            description
              "select line coding";
          }
        }
      }

      leaf ber-counts {
        type string;
        config false;
        description
          "BER value";
      }
    }
  }

  rpc reset-interface-counters {
    description
      "Management plane triggered restart of the interface counters.";
  }

  notification cpri-startup-state-change {
    description
      "Notification used to inform about cpri start up state change";
    leaf cpri-startup-state {
      type leafref {
        path "/cpri-status/cpri-startup-status/cpri-startup-state";
      }
      description

[INF]: LN: Session 1: sending message:

#428


[INF]: LN: Session 1: sending message:

        "State of CPRI Start up is notified at state change";
    }
  }

  notification cpri-link-state-change {
    description
      "Notification used to inform about cpri link state change";
    leaf cpri-link-state {
      type leafref {
        path "/cpri-status/cpri-link-status/cpri-link-state";
      }
      description
        "State of CPRI Link Status is notified at state change";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="82"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-fm</identifier><version>2019-02-04</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-fm" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="82"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-fm {
  yang-version 1.1;
  namespace "urn:o-ran:fm:1.0";
  prefix o-ran-fm;

  import ietf-yang-types {
    prefix yang;
    revision-date 2013-07-15;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines alarm reporting mechanism.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUS

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
INESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2019-02-04 {
    descriptio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping alarm {
    description
      "Gropuping which can uniquely identify alarm";
    leaf fault-id {
      type uint16;
      mandatory true;
      description
        "Fault specific Id that identifies the fault.";
    }

    leaf fault-source {
      type string {
        length "1..255";
      }
      mandatory true;
      description
        "Represents the Object or source that is suspected to be faulty.";
    }

    list affected-objects {
      min-elements 1;
      max-elements 100;
      description
        "List of affected-objects";
      leaf name {
        type string {
          length "1..255";
        }
        mandatory true;
        description
          "Represents the Object or source that is suspected to be affected by this fault";
      }
    }

    leaf fault-severity {
      type enumeration {
        enum "CRIT

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ICAL" {
          description
            "Critical alarm means that this device is not able to perform any further service";
        }
        enum "MAJOR" {
          description
            "Major alarm appeared on the device";
        }
        enum "MINOR" {
          description
            "Minor alarm appeared on the device";
        }
        enum "WARNING" {
          description
            "Warning is being reported by the device";
        }
      }
      mandatory true;
      description
        "Fault severity defines the severity level of the fault. A notification, whose fault severity has the value 'warning',
         is a special type of an alarm notification. For these alarm notifications,
         the Master Agent does not expect to receive a clear alarm notification.";
    }

    leaf is-cleared {
      type boolean;
      mandatory true;
      description
        "Fault state determines the type of the event. Not used if faultSeverity is WARNING.";
    }

    leaf fault-text {
      type

[INF]: LN: Session 1: sending message:

#790


[INF]: LN: Session 1: sending message:
string {
        length "0..255";
      }
      description
        "Textual description of the fault.";
    }

    leaf event-time {
      type yang:date-and-time;
      mandatory true;
      description
        "Timestamp to indicate the time when the fault is detected/cleared.";
    }
  }

  container active-alarm-list {
    config false;
    description
      "List of currently active alarms. An alarm is removed from this table when the state transitions to clear.";
    list active-alarms {
      description
        "List of currenty active alarms";
      uses alarm;
    }
  }

  notification alarm-notif {
    description
      "Notification sent on initial alarm creation, as well as any time the alarm changes state, including clear";
    uses alarm;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="83"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-sync-cpri</identifier><version>2020-07-07</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-sync-cpri" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="83"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-sync-cpri {
  yang-version 1.1;
  namespace "urn:o-ran:sync-cpri:1.0";
  prefix o-ran-sync-cpri;

  import ietf-interfaces {
    prefix if;
  }

  import o-ran-interfaces-cpri {
    prefix o-ran-int-cpri;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines synchronization mechanism for the On CPRI Equipment.
     Copyright 2020.07.07 the O-RAN Alliance.";

  revision 2020-07-07 {
    description
      "version 1.0.0";
    reference
      "ORAN-WG4.M.0-v03.00";
  }

  container sync-status {
    description
      "Object of this class provides synchronization state of the module.";
    leaf reporting-period {
      type uint32 {
        range "0..86400";
      }
      units "seconds";
      default "10";
      description
        "The parameter is used to define the minimum time interval for reporti

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ng";
    }

    leaf sync-state {
      type enumeration {
        enum "LOCKED" {
          description
            "RU is in locked mode";
        }
        enum "UNLOCKED" {
          description
            "RU is in unlocked mode";
        }
      }
      default "UNLOCKED";
      config false;
      description
        "State of RU synchronization";
    }

    leaf error-message {
      when "../sync-state = 'UNLOCKED'";
      type string;
      config false;
      description
        "Detailed error Message when the synchronization status is UNLOCKED.";
    }

    leaf source-port-number {
      type leafref {
        path "/if:interfaces/if:interface/o-ran-int-cpri:cpri-interface/o-ran-int-cpri:port-reference/o-ran-int-cpri:port-number";
      }
      config false;
      description
        "This is reference to portNumber of cpri interface to identify the port";
    }
  }

  notification cpri-state-change {
    description
      "Notification used to inform about cpri synchronization state change";


[INF]: LN: Session 1: sending message:

#126


[INF]: LN: Session 1: sending message:
   leaf cpri-sync-state {
      type leafref {
        path "/sync-status/sync-state";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="84"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-lbm</identifier><version>2019-02-04</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-lbm" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="84"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-lbm {
  yang-version 1.1;
  namespace "urn:o-ran:lbm:1.0";
  prefix o-ran-lbm;

  import ietf-yang-types {
    prefix yang;
    revision-date 2013-07-15;
  }

  import ietf-interfaces {
    prefix if;
  }

  import o-ran-interfaces {
    prefix o-ran-int;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the module capabilities for
     the O-RAN Radio loop-back protocol (IEEE 802.1ag).
     It is derived from MEF-38 (Service OAM Fault Management YANG Modules, April 2012)

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRI

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
GHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  typedef priority-type {
    type uint32 {
      range "0..7";
    }
    description
      "A 3 bit priority value to be used in the VLAN tag, if present
       in the transmitted frame.";
    reference
      "[802.1q] 12.14.7.3.2:e";
  }

  typedef mep-id-type {
    type uint16 {
      range "1..8191";
    }
    description
      "Maintenance association End Point Identifier (MEPID): A small integer,
       unique over a given Maintenance Association, identifying a
       specific MEP.";
    reference
      "[802.1q] 3.19 and 19.2.1";
  }

  typedef vlan-id-type {
    type uint16 {
      range "1

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
..4094";
    }
    description
      "The VLAN-ID that uniquely identifies a VLAN.  This is the 12-bit VLAN-ID
       used in the VLAN Tag header.";
    reference
      "[802.1q] 9.6";
  }

  typedef md-level-type {
    type int32 {
      range "0..7";
    }
    description
      "Maintenance Domain Level (MD Level) identifier.  Higher numbers
       correspond to higher Maintenance Domains, those with the greatest
       physical reach, with the highest values for customers' CFM PDUs.
       Lower numbers correspond to lower Maintenance Domains, those with
       more limited physical reach, with the lowest values for CFM PDUs
       protecting single bridges or physical links.";
    reference
      "[802.1q] 18.3, 21.4.1, IEEE8021-CFM-MIB.Dot1agCfmMDLevel";
  }

  typedef lbm-transaction-id-type {
    type uint32;
    description
      "A loopback transaction identifier";
    reference
      "[802.1q] 21.7.3";
  }

  grouping md-group {
    list maintenance-domain {
      key "id";
      description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "A Maintenance Domain managed object is required in order to create an MA
         with a MAID that includes that Maintenance Domain's Name. From
         this Maintenance Domain managed object, all Maintenance
         Association managed objects associated with that Maintenance
         Domain managed object can be accessed, and thus controlled.";
      reference
        "[802.1q] 12.14.5";
      leaf id {
        type string;
        description
          "A unique identifier of a Maintenance Domain";
        reference
          "[802.1q] 12.14.5";
      }

      leaf name {
        type string;
        description
          "The value for the Maintenance Domain Name. Only the name-type
           'character-string' is supported";
        reference
          "[802.1q] 21.6.5.1 (Table 21-19), 12.14.5.3.2:a";
      }

      leaf md-level {
        type md-level-type;
        default "0";
        description
          "Integer identifying the Maintenance Domain Level (MD Level).  Higher
           numbers co

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rrespond to higher Maintenance Domains, those with the
           greatest physical reach, with the highest values for customers'
           CFM PDUs.  Lower numbers correspond to lower Maintenance
           Domains, those with more limited physical reach, with the lowest
           values for CFM PDUs protecting single bridges or physical links.";
        reference
          "[802.1q] 12.14.5.1.3:b";
      }

      list maintenance-association {
        key "id";
        description
          "This list represents Maintenance Entity Groups (Y.1731) or
           Maintenance Associations (802.1ag). MEGs/MAs are sets of
           MEPs, each configured to the same service inside a common
           OAM domain.";
        leaf id {
          type string;
          description
            "A unique identifier of a Maintenance Association";
          reference
            "[802.1q] 12.14.6";
        }

        leaf name {
          type string;
          description
            "The value for the Maintenance Asso

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ciation Name. Only the name-type
             'character-string' is supported";
          reference
            "[802.1q] 12.14.5.3.2:b, Table 21-20";
        }

        list component-list {
          key "component-id";
          description
            "A list of components each of which can be managed in a manner
             essentially equivalent to an 802.1Q bridge.";
          reference
            "[802.1q] IEEE8021-CFM-V2-MIB.ieee8021CfmMaCompTable";
          leaf component-id {
            type uint32;
            description
              "The bridge component within the system to which the information
               in this maintenance-association applies";
            reference
              "[802.1q] IEEE8021-CFM-V2-MIB.ieee8021CfmMaComponentId";
          }

          leaf name {
            type string;
            description
              "The value for the Maintenance Association Name. Only the name-type
               'character-string' is supported";
            reference


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
"[802.1q] 12.14.5.3.2:b, Table 21-20";
          }

          leaf-list vid {
            type leafref {
              path "/if:interfaces/if:interface/o-ran-int:vlan-id";
            }
            min-elements 1;
            ordered-by user;
            description
              "The VID(s) monitored by this MA, or 0, if the MA is not attached to any
               VID. The first VID returned is the MA's Primary VID";
            reference
              "[802.1q] 12.14.5.3.2:b";
          }

          leaf-list remote-meps {
            type mep-id-type;
            description
              "A list of the MEPIDs of the MEPs in the MA.";
            reference
              "[802.1q] 12.14.6.1.3:g";
          }

          list maintenance-association-end-point {
            key "mep-identifier";
            description
              "The list of Maintenance association End Points in a specific Maintance
               Association.";
            leaf mep-identifier {
              type mep-id-type;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    description
                "Integer that is unique among all the MEPs in the same MA. Other
                 definition is: a small integer, unique over a given
                 Maintenance Association, identifying a specific Maintenance
                 association End Point.";
              reference
                "[802.1q] 12.14.6.3.2:b";
            }

            leaf interface {
              type leafref {
                path "/if:interfaces/if:interface/if:name";
              }
              mandatory true;
              description
                "An interface, either a Bridge Port or an aggregated IEEE 802.3 port
                 within a Bridge Port, to which the MEP is attached. Each interface in
                 the system is uniquely identified by an interface-name. The structure
                 and content of the name is outside the scope of this specification.";
              reference
                "[802.1q] 12.14.7.1.3:b";
            }

            leaf primary-vid {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    type leafref {
                path "/if:interfaces/if:interface/o-ran-int:vlan-id";
              }
              mandatory true;
              description
                "The Primary VID of the MEP. The value 0 indicates that either the
                 Primary VID is that of the MEP's MA or that the MEP's MA is
                 associated with no VID";
              reference
                "[802.1q] 12.14.7.1.3:d";
            }

            leaf administrative-state {
              type boolean;
              mandatory true;
              description
                "The administrative state of the MEP";
              reference
                "[802.1q] 12.14.7.1.3:e";
            }

            leaf mac-address {
              type leafref {
                path "/if:interfaces/if:interface/o-ran-int:mac-address";
              }
              config false;
              description
                "The MAC address of the MEP";
              reference
                "[802.1q] 12.14.7.1.3:i";


[INF]: LN: Session 1: sending message:

#755


[INF]: LN: Session 1: sending message:
        }

            container loopback {
              config false;
              description
                "Data definitions related to the Loopback function.";
              leaf replies-transmitted {
                type yang:counter32;
                config false;
                mandatory true;
                description
                  "The total number of LBRs transmitted.";
                reference
                  "[802.1q] 12.14.7.1.3:ad";
              }
            }
          }
        }
      }
    }
  }

  container md-data-definitions {
    description
      "Data definitions related to the maineance domains used for supporting
       Ethernet loopback connectivity checks";
    uses md-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="85"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-ald-port</identifier><version>2019-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-ald-port" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="85"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-ald-port {
  yang-version 1.1;
  namespace "urn:o-ran:ald-port:1.0";
  prefix o-ran-ald-port;

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the input state and output configuration for
     the Antenna Line Device capability.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSIN

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2019-07-03 {
    description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      "version 1.1.0

       1) backward compatible changes to introduce groupings.";
    reference
      "ORAN-WG4.M.0-v01.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature OVERCURRENT-SUPPORTED {
    description
      "This feature indicates that the equipment supports the over-current notification
       capability.";
  }

  grouping aldport-group {
    leaf over-current-supported {
      type boolean;
      config false;
      description
        "Set to TRUE when the equipment supports over curent notifications";
    }

    list ald-port {
      key "name";
      config false;
      description
        "Leaf nodes describing ALD Port";
      leaf name {
        type string {
          length "1..255";
        }
        description
          "A name that is unique that identifies a ald port instance.
           This name may be use

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
d in fault management to refer to a fault source
           or affected object";
      }

      leaf port-id {
        type uint8;
        config false;
        mandatory true;
        description
          "A number which identifies an ALD Port.
           The number of the Physical ALD port connector in the module.
           If the module supports 2 ALD Port connectors, use 0 and 1.";
      }

      leaf dc-control-support {
        type boolean;
        config false;
        mandatory true;
        description
          "It is shown that on/off in the DC power supply is possible.
           In case of False, power supply is always on.";
      }

      leaf dc-enabled-status {
        when "../dc-control-support = 'true'";
        type boolean;
        default "false";
        description
          "Status of DC voltage enabled on antenna line.
           Valid only in case dc-control-support is true.";
      }

      leaf supported-connector {
        type enumeration {
          enum "ANTENNA_CONNECTOR"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
{
            description
              "This ald port is related to antenna connector";
          }
          enum "RS485_PORT" {
            description
              "This ald port is related to RS485 port";
          }
        }
        config false;
        mandatory true;
        description
          "Informs about the connectors of Module which ALDs are connected to.
           This value is depending on HW design.";
      }
    }

    list ald-port-dc-control {
      key "name";
      description
        "Container needed to manage DC on ALD ports";
      leaf name {
        type leafref {
          path "/ald-ports-io/ald-port/name";
          require-instance false;
        }
        mandatory true;
        description
          "Name derived from unmodifiable list ald-port";
      }

      leaf dc-enabled {
        type boolean;
        description
          "If dc-control-support is true case, this leaf is effective.
           If dc-control-support is not true this leaf makes no action


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  In case of true, the power supply shall be turned on.";
      }
    }
  }

  grouping overcurrent-group {
    container overload-condition {
      description
        "Container used in notification";
      leaf-list overloaded-ports {
        type leafref {
          path "/ald-ports-io/ald-port/name";
        }
        description
          "List of overloaded ports";
      }
    }
  }

  grouping dc-enabled-group {
    list ald-port {
      key "name";
      description
        "list of ald-ports that has its dc-enabled-status changed";
      leaf name {
        type leafref {
          path "/ald-ports-io/ald-port/name";
        }
        description
          "Name of port which has changed";
      }

      leaf dc-enabled-status {
        type leafref {
          path "/ald-ports-io/ald-port/dc-enabled-status";
        }
        description
          "New staus of dc-enabled-status";
      }
    }
  }

  container ald-ports-io {
    description
      "ALD port information.
       ALD port of the equip

[INF]: LN: Session 1: sending message:

#966


[INF]: LN: Session 1: sending message:
ment that can be used to connect External Equipment (Antenna Line Devices).
       Communication uses AISG over HDLC.
       Physical connection depends on connector type offered by the port (RS-485 or antenna line)
       Note: Single instance of ALD Port can point to more than one antenna line devices.";
    uses aldport-group;
  }

  notification overcurrent-report {
    if-feature "OVERCURRENT-SUPPORTED";
    description
      "The equipment is able to report overcurrent condition about Port.
       This function is depending on HW design.
       The notification depend on power consumption which connected ALD devices and module.";
    uses overcurrent-group;
  }

  notification dc-enabled-status-change {
    description
      "The equipment is able to report the change of 'dc-enabled-status' of the ald-port.
       This is applicable when the leaf 'dc-control-support' of the ald-pot is 'TRUE'.";
    uses dc-enabled-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="86"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-uplane-conf-option8</identifier><version>2020-03-08</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-uplane-conf-option8" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="86"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-uplane-conf-option8 {
  yang-version 1.1;
  namespace "urn:o-ran:uplane-conf-option8:1.0";
  prefix o-ran-uplane-conf-option8;

  import o-ran-processing-element {
    prefix o-ran-pe;
  }

  import ietf-interfaces {
    prefix if;
  }

  import o-ran-module-cap {
    prefix mcap;
    revision-date 2020-04-17;
  }

  import o-ran-compression-factors {
    prefix cf;
    revision-date 2020-03-05;
  }

  import o-ran-uplane-conf {
    prefix o-ran-uplane-conf;
    revision-date 2020-04-17;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the module capabilities for
     the O-RAN option8 split Radio Unit U-Plane configuration.

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WAR

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
RANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
butions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-03-08 {
    description
      "version 1.0.0

       1) created based on o-ran-uplane-conf v3.0";
  }

  typedef polarisation_type {
    type enumeration {
      enum "MINUS_45" {
        description
          "MINUS_45";
      }
      enum "ZERO" {
        description
          "ZERO";
      }
      enum "PLUS_45" {
        description
          "PLUS_45";
      }
      enum "PLUS_90" {
        description
          "PLUS_90";
      }
    }
    description
      "Type definition for polarisations";
  }

  grouping eaxc {
    description
      "One eAxC identifier (eAxC ID) com

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
prises a band and sector
       identifier (BandSector_ID), a component-carrier identifier (CC_ID) and a
       spatial stream identifier (RU_Port_ID).

       In this version of the specification, one eAxC contains only one spatial
       stream (i.e. one beam per subcarrier) at a time.

       Bit allocation is subdivided as follows:
       *    O_DU_Port_ID: Used to differentiate processing units at O-DU
       *    BandSector_ID: Aggregated cell identifier
       *    CC_ID: distinguishes Carrier Components
       *    RU_Port_ID: Used to differentiate spatial streams or beams on the O-RU

       The bitwidth of each of the above fields is variable this model is supposed to check
        if we are occpying bits continuously but we do not have to occupy all 16 bits";
    leaf o-du-port-bitmask {
      type uint16;
      mandatory true;
      description
        "mask for eaxc-id bits used to encode O-DU Port ID";
    }

    leaf band-sector-bitmask {
      type uint16;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    mandatory true;
      description
        "mask for eaxc-id bits used to encode the band sector ID";
    }

    leaf ccid-bitmask {
      type uint16;
      mandatory true;
      description
        "mask for eaxc-id bits used to encode the component carrier id";
    }

    leaf ru-port-bitmask {
      type uint16;
      mandatory true;
      description
        "mask for eaxc-id bits used to encode the O-RU Port ID";
    }

    leaf eaxc-id {
      type uint16;
      mandatory true;
      description
        "encoded value of eaxcid to be read by CU-Plane";
    }
  }

  grouping parameters {
    description
      "Grouping of all parameters common between UL and DL";
    leaf name {
      type string;
      mandatory true;
      description
        "Unique name of array antenna";
    }

    leaf number-of-rows {
      type uint16;
      mandatory true;
      description
        "Number of rows array elements are shaped into - M";
    }

    leaf number-of-columns {
      type uint16;
      mandatory true

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
      description
        "Number of columns array elements are shaped into - N";
    }

    leaf number-of-array-layers {
      type uint8;
      mandatory true;
      description
        "Number of array layers array elements are shaped into - Q";
    }

    leaf horizontal-spacing {
      type decimal64 {
        fraction-digits 5;
      }
      units "Meter";
      description
        "Average distance between centers of nearby AE in horizontal direction (in array coordinates system)";
    }

    leaf vertical-spacing {
      type decimal64 {
        fraction-digits 5;
      }
      units "Meter";
      description
        "Average distance between centers of nearby AE in vertical direction (in array coordinates system)";
    }

    container normal-vector-direction {
      description
        "Counter-clockwise rotation around z and y axis.";
      leaf azimuth-angle {
        type decimal64 {
          fraction-digits 4;
        }
        units "Degrees";
        description
          "Azimuth angle,

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
counter-clockwise rotation around z-axis. Value 'zero' points to broad-side, value '90' points to y-axis";
      }

      leaf zenith-angle {
        type decimal64 {
          fraction-digits 4;
        }
        units "Degrees";
        description
          "Zenith angle, counter-clockwise rotation around y-axis. Value 'zero' points to zenith, value '90' points to horizon";
      }
    }

    container leftmost-bottom-array-element-position {
      description
        "Structure describing position of leftmost, bottom array element.";
      leaf x {
        type decimal64 {
          fraction-digits 4;
        }
        units "Meter";
        description
          "X dimension of position of leftmost, bottom array element";
      }

      leaf y {
        type decimal64 {
          fraction-digits 4;
        }
        units "Meter";
        description
          "Y dimension of position of leftmost, bottom array element";
      }

      leaf z {
        type decimal64 {
          fraction-digits 4;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 }
        units "Meter";
        description
          "Z dimension of position of leftmost, bottom array element";
      }
    }

    list polarisations {
      key "p";
      min-elements 1;
      max-elements 2;
      description
        "List of supported polarisations.";
      leaf p {
        type uint8;
        mandatory true;
        description
          "Polarisation index. See CUS-plane";
      }

      leaf polarisation {
        type polarisation_type;
        mandatory true;
        description
          "Type of polarisation supported by array.";
      }
    }

    leaf band-number {
      type leafref {
        path "/mcap:module-capability/mcap:band-capabilities/mcap:band-number";
      }
      mandatory true;
      description
        "This parameter informing which frequency band particular antenna
         array is serving for.
         Intended use is to deal with multiband solutions.";
    }
  }

  grouping array-choice {
    description
      "Elements which groups choice for antenna

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 type";
    choice antenna-type {
      description
        "Choice for antenna type";
      case tx {
        leaf tx-array-name {
          type leafref {
            path "/o-ran-uplane-conf:user-plane-configuration/o-ran-uplane-conf:tx-arrays/o-ran-uplane-conf:name";
          }
          description
            "Leafref to tx array if such is choosen";
        }
      }

      case rx {
        leaf rx-array-name {
          type leafref {
            path "/o-ran-uplane-conf:user-plane-configuration/o-ran-uplane-conf:rx-arrays/o-ran-uplane-conf:name";
          }
          description
            "Leafref to rx array if such is choosen";
        }
      }
    }
  }

  grouping tx-common-array-carrier-elements {
    description
      "This grouping containes all common parameters for tx-array-carriers and rx-array-carriers";
    leaf absolute-frequency-center {
      type uint32;
      mandatory true;
      description
        "Absolute Radio Frequency Channel Number - indirectly indicates RF center carr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ier frequency of signal.
         Reflected in arfcn.";
    }

    leaf center-of-channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Center frequency of channel bandwidth in Hz. Common for all numerologies.";
    }

    leaf channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Width of carrier given in Hertz";
    }

    leaf active {
      type enumeration {
        enum "INACTIVE" {
          description
            "carrier does not provide signal - transmission is disabled";
        }
        enum "SLEEP" {
          description
            "carrier is fully configured and was active but is energy saving mode";
        }
        enum "ACTIVE" {
          description
            "carrier is fully configured and properly providing the signal";
        }
      }
      default "INACTIVE";
      description
        "Indicates if transmission is enabled for this array carriers. Note that Netconf server u

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ses state parameter
         to indicate actual state of array carriers operation. When array carriers is in sleep status,
         Netconf server rejects all other operation request to tx-array-carriers object except either request to change from sleep
         to active status or delete MO operation (see 4.8) to the object.";
    }

    leaf state {
      type enumeration {
        enum "DISABLED" {
          description
            "array carrier is not active - transmission of signal is disabled.";
        }
        enum "BUSY" {
          description
            "array carrier is processing an operation requested by change of active parameter.
             When array carriers is BUSY the transmission of signal is not guaranteed.";
        }
        enum "READY" {
          description
            "array carrier had completed activation operation - is active and transmission of signal is ongoing.";
        }
      }
      config false;
      mandatory true;
      description
        "Indicates state o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
f array carriers activation operation";
    }

    leaf type {
      type enumeration {
        enum "NR" {
          description
            "5G technology";
        }
        enum "LTE" {
          description
            "LTE technology";
        }
        enum "DSS_LTE_NR" {
          if-feature "mcap:DSS_LTE_NR";
          description
            "NR and LTE technologies in Dynamic Spectrum Sharing mode";
        }
      }
      description
        "Type of carrier. Indicates array-carrier technology.";
    }

    leaf duplex-scheme {
      type enumeration {
        enum "TDD" {
          description
            "TDD scheme";
        }
        enum "FDD" {
          description
            "FDD scheme";
        }
      }
      config false;
      description
        "Type of duplex scheme O-RU supports.";
    }

    leaf rw-duplex-scheme {
      type leafref {
        path "/user-plane-configuration/tx-array-carriers[name=current()/../name]/duplex-scheme";
        require-instance false;
      }
      d

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
escription
        "Config true type of duplex scheme.";
    }

    leaf rw-type {
      type leafref {
        path "/user-plane-configuration/tx-array-carriers[name=current()/../name]/type";
        require-instance false;
      }
      description
        "Config true type of carrier.";
    }
  }

  grouping rx-common-array-carrier-elements {
    description
      "This grouping containes all common parameters for tx-array-carriers and rx-array-carriers";
    leaf absolute-frequency-center {
      type uint32;
      mandatory true;
      description
        "Absolute Radio Frequency Channel Number - indirectly indicates RF center carrier frequency of signal.
         Reflected in arfcn.";
    }

    leaf center-of-channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Center frequency of channel bandwidth in Hz. Common for all numerologies.";
    }

    leaf channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       "Width of carrier given in Hertz";
    }

    leaf active {
      type enumeration {
        enum "INACTIVE" {
          description
            "carrier does not provide signal - transmission is disabled";
        }
        enum "SLEEP" {
          description
            "carrier is fully configured and was active but is energy saving mode";
        }
        enum "ACTIVE" {
          description
            "carrier is fully configured and properly providing the signal";
        }
      }
      default "INACTIVE";
      description
        "Indicates if transmission is enabled for this array carriers. Note that Netconf server uses state parameter
         to indicate actual state of array carriers operation. When array carriers is in sleep status,
         Netconf server rejects all other operation request to tx-array-carriers object except either request to change from sleep
         to active status or delete MO operation (see 4.8) to the object.";
    }

    leaf state {
      type enumeration

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 {
        enum "DISABLED" {
          description
            "array carrier is not active - transmission of signal is disabled.";
        }
        enum "BUSY" {
          description
            "array carrier is processing an operation requested by change of active parameter.
             When array carriers is BUSY the transmission of signal is not guaranteed.";
        }
        enum "READY" {
          description
            "array carrier had completed activation operation - is active and transmission of signal is ongoing.";
        }
      }
      config false;
      mandatory true;
      description
        "Indicates state of array carriers activation operation";
    }

    leaf type {
      type enumeration {
        enum "NR" {
          description
            "5G technology";
        }
        enum "LTE" {
          description
            "LTE technology";
        }
        enum "DSS_LTE_NR" {
          if-feature "mcap:DSS_LTE_NR";
          description
            "NR and LTE technologies

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
in Dynamic Spectrum Sharing mode";
        }
      }
      description
        "Type of carrier. Indicates array-carrier technology.";
    }

    leaf duplex-scheme {
      type enumeration {
        enum "TDD" {
          description
            "TDD scheme";
        }
        enum "FDD" {
          description
            "FDD scheme";
        }
      }
      config false;
      description
        "Type of duplex scheme O-RU supports.";
    }
  }

  grouping uplane-conf-group {
    description
      "Grouping for uplane configuration related parameters";
    list tx-links {
      key "name";
      description
        "Object model for tx-link configuration";
      leaf name {
        type string;
        description
          "Unique name of tx-link object.";
      }

      leaf processing-element {
        type leafref {
          path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
        }
        mandatory true;
        description
          "Contains name of processing-element to

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
be used as transport by tx-link";
      }

      leaf tx-array-carrier {
        type leafref {
          path "/user-plane-configuration/tx-array-carriers/name";
        }
        mandatory true;
        description
          "Contains name of tx-array-carriers MO to be used as transport by tx-link";
      }

      leaf tx-endpoint {
        type leafref {
          path "/user-plane-configuration/tx-endpoints/name";
        }
        mandatory true;
        description
          "Contains name of tx-endpoints MO to be used as transport by tx-link";
      }
    }

    list rx-links {
      key "name";
      description
        "Object model for rx-links configuration";
      leaf name {
        type string;
        description
          "Unique name of rx-links object.";
      }

      leaf processing-element {
        type leafref {
          path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
        }
        mandatory true;
        description
          "Contains name of processing-e

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
lement to be used as transport by rx-link";
      }

      leaf rx-array-carrier {
        type leafref {
          path "/user-plane-configuration/rx-array-carriers/name";
        }
        mandatory true;
        description
          "Contains name of rx-array-carriers MO to be used as transport by rx-links";
      }

      leaf rx-endpoint {
        type leafref {
          path "/user-plane-configuration/rx-endpoints/name";
        }
        mandatory true;
        description
          "Contains name of rx-endpoints MO to be used as transport by rx-links";
      }
    }

    list endpoint-types-option8 {
      key "id";
      config false;
      description
        "Properties of endpoint that are common to multiple endpoints if such are identified";
      leaf id {
        type uint16;
        description
          "Identifies type of endpoints sharing same properties. Values shall start with 0 and shall be allocated without gaps.";
      }
    }

    list static-tx-endpoints {
      key "name";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
config false;
      description
        "Object model for static-tx-endpoints configuration";
      leaf name {
        type string;
        description
          "Unique name of static-tx-endpoints object.";
      }

      leaf-list restricted-interfaces {
        type leafref {
          path "/if:interfaces/if:interface/if:name";
        }
        description
          "Optionally used to indicate that a low-level link is constrained to operate only via a subset of the available interfaces.";
      }

      leaf array {
        type leafref {
          path "/user-plane-configuration/tx-arrays/name";
        }
        mandatory true;
        description
          "Contains distname of tx-arrays, particular tx-endpoints is in hardware dependency with.
           Note: single instance of tx-arrays can be referenced by many instances of tx-endpoints
           (e.g. to allow DU to handle multiple fronthauls and multiple component carriers).";
      }

      leaf endpoint-type {
        type leafref {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    path "../../endpoint-types-option8/id";
        }
        description
          "Reference to endpoint type capabilities list element supported by this endpoint";
      }
    }

    list static-rx-endpoints {
      key "name";
      config false;
      description
        "Object model for static-rx-endpoints configuration";
      leaf name {
        type string;
        description
          "Unique name of static-rx-endpoints object.";
      }

      leaf-list restricted-interfaces {
        type leafref {
          path "/if:interfaces/if:interface/if:name";
        }
        description
          "Optionally used to indicate that a low-level link is constrained to operate only via a subset of the available interfaces.";
      }

      leaf array {
        type leafref {
          path "/user-plane-configuration/rx-arrays/name";
        }
        mandatory true;
        description
          "Contains distname of rx-arrays, particular rx-endpoints is in hardware dependency with.
           Note: singl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e instance of rx-arrays can be referenced by many instances of rx-endpoints
           (e.g. to allow DU to handle multiple fronthauls and multiple component carriers).";
      }

      leaf endpoint-type {
        type leafref {
          path "../../endpoint-types-option8/id";
        }
        description
          "Reference to endpoint type capabilities list element supported by this endpoint";
      }
    }

    list tx-endpoints {
      key "name";
      description
        "Object model for tx-endpoints configuration - augmented static-tx-endpoints by local-address
         which cannot be added to static tx-endpoints as we cannot have modificable element in static object";
      leaf name {
        type leafref {
          path "/user-plane-configuration/static-tx-endpoints/name";
          require-instance false;
        }
        mandatory true;
        description
          "Unique name of tx-endpoint object. Reference to static object";
      }

      container compression {
        presence "T

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
his container shall exists to avoid missaligned compression
         methods between devices";
        description
          "Container which consists of global configurable parameters for compression";
        uses cf:compression-details;
      }

      container e-axcid {
        description
          "Contains local address of RX endpoint offered by Netconf server in condition of CPRI option8 split.";
        uses eaxc;
      }
    }

    list rx-endpoints {
      key "name";
      description
        "Object model for rx-endpoint configuration - augmented static-rx-endpoints by local-address
         which cannot be added to static rx-endpoints as we cannot have modificable element in static object";
      leaf name {
        type leafref {
          path "/user-plane-configuration/static-rx-endpoints/name";
          require-instance false;
        }
        mandatory true;
        description
          "Unique name of rx-endpoint object. Reference to static object";
      }

      container compressio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n {
        description
          "Container which consists of global configurable parameters for compression";
        uses cf:compression-details;
      }

      container e-axcid {
        description
          "Contains local address of RX endpoint offered by Netconf server in condition of CPRI option8 split.";
        uses eaxc;
      }

      leaf non-time-managed-delay-enabled {
        type boolean;
        default "false";
        description
          "Tells if non time managed delay shall be enabled";
      }
    }

    list tx-array-carriers {
      key "name";
      description
        "Object model for tx-array-carriers configuration";
      leaf name {
        type string;
        description
          "Unique name of tx-array-carriers object.";
      }

      uses tx-common-array-carrier-elements;

      leaf band-number {
        if-feature "mcap:LAA";
        type leafref {
          path "/mcap:module-capability/mcap:band-capabilities/mcap:band-number";
          require-instance false;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     }
        description
          "This parameter informing which frequency band particular antenna
           array is serving for.
           Intended use is to deal with multiband solutions.";
      }

      container lte-tdd-frame {
        when "(/user-plane-configuration/tx-array-carriers/rw-type = 'LTE') and  (/user-plane-configuration/tx-array-carriers/rw-duplex-scheme = 'TDD')";
        description
          "Container which consists of global configurable parameters for tdd Frame";
        leaf subframe-assignment {
          type enumeration {
            enum "SAO" {
              description
                "subframe assignment configuration 0";
            }
            enum "SA1" {
              description
                "subframe assignment configuration 1";
            }
            enum "SA2" {
              description
                "subframe assignment configuration 2";
            }
            enum "SA3" {
              description
                "subframe assignment configurat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ion 3";
            }
            enum "SA4" {
              description
                "subframe assignment configuration 4";
            }
            enum "SA5" {
              description
                "subframe assignment configuration 5";
            }
            enum "SA6" {
              description
                "subframe assignment configuration 6";
            }
          }
          mandatory true;
          description
            "Indicates DL/UL subframe configuration as specified in
             3GPP TS 36.211 [v15.3.0, table 4.2-2]";
        }

        leaf special-subframe-pattern {
          type enumeration {
            enum "SPP0" {
              description
                "special subframe pattern configuration 0";
            }
            enum "SPP1" {
              description
                "special subframe pattern configuration 1";
            }
            enum "SPP2" {
              description
                "special subframe pattern configuration 2";
            }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          enum "SPP3" {
              description
                "special subframe pattern configuration 3";
            }
            enum "SPP4" {
              description
                "special subframe pattern configuration 4";
            }
            enum "SPP5" {
              description
                "special subframe pattern configuration 5";
            }
            enum "SPP6" {
              description
                "special subframe pattern configuration 6";
            }
            enum "SPP7" {
              description
                "special subframe pattern configuration 7";
            }
            enum "SPP8" {
              description
                "special subframe pattern configuration 8";
            }
            enum "SPP9" {
              description
                "special subframe pattern configuration 9";
            }
            enum "SPP10" {
              description
                "special subframe pattern configuration 10";
            }
          }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      mandatory true;
          description
            "Indicates TDD special subframe configuration as in TS 36.211
             [v15.3.0, table 4.2-1] ";
        }
      }

      leaf gain {
        type decimal64 {
          fraction-digits 4;
        }
        units "dB";
        mandatory true;
        description
          "Transmission gain in dB. Value applicable to each array element carrier belonging to array carrier.";
      }

      leaf downlink-radio-frame-offset {
        type uint32 {
          range "0..12288000";
        }
        mandatory true;
        description
          "This parameter is used for offsetting the starting position of 10ms radio frame.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.
           Note2: Unit is 1/1.2288e9 Hz and accuracy is 1/4 Tc. Then, its range is calculated 0..12288000.";
      }

      leaf downlink-sfn-offset {
        type int16 {
          range "-32768..32767";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  }
        mandatory true;
        description
          "This parameter is used for offsetting SFN value.
           Unit is in 10ms.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.";
      }
    }

    list rx-array-carriers {
      key "name";
      description
        "Object model for rx-array-carriers configuration";
      leaf name {
        type string;
        description
          "Unique name of rx-array-carriers object.";
      }

      uses rx-common-array-carrier-elements;

      leaf downlink-radio-frame-offset {
        type uint32 {
          range "0..12288000";
        }
        mandatory true;
        description
          "This parameter is used for offsetting the starting position of 10ms radio frame.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.
           Note2: Unit is 1/1.2288e9 Hz and accuracy is 1/4 Tc. Then, its range is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 calculated 0..12288000.";
      }

      leaf downlink-sfn-offset {
        type int16 {
          range "-32768..32767";
        }
        mandatory true;
        description
          "This parameter is used for offsetting SFN value.
           Unit is in 10ms.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.";
      }

      leaf gain-correction {
        type decimal64 {
          fraction-digits 4;
        }
        units "dB";
        mandatory true;
        description
          "Gain correction of RF path linked with array element or array layers";
      }

      leaf n-ta-offset {
        type uint32;
        units "Tc";
        mandatory true;
        description
          "Value of configurable N-TA offset
           units are Tc=~0.5ns=1/1.96608GHz";
      }
    }

    list tx-arrays {
      key "name";
      config false;
      description
        "Structure describing TX array parameters";
      uses parameters;



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    leaf max-gain {
        type decimal64 {
          fraction-digits 4;
        }
        units "dB";
        mandatory true;
        description
          "Max gain of RF path linked with array element (minimum over elements of array) or array layers";
      }

      leaf independent-power-budget {
        type boolean;
        mandatory true;
        description
          "If true then every element of array has own, power budget independent from power budget of other elements.
           Else all elements of array that are at same row and column and have same polarization share power budget";
      }

      list capabilities {
        description
          "List of capabilities related to this tx-array";
        uses mcap:support-for-dl;
      }
    }

    list rx-arrays {
      key "name";
      config false;
      description
        "Structure describing RX array parameters";
      uses parameters;

      container gain-correction-range {
        description
          "Array gain correction factor";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
        leaf max {
          type decimal64 {
            fraction-digits 4;
          }
          units "dB";
          mandatory true;
          description
            "Array gain correction factor - maximum allowed value";
        }

        leaf min {
          type decimal64 {
            fraction-digits 4;
          }
          units "dB";
          mandatory true;
          description
            "Array gain correction factor - minimum allowed value";
        }
      }

      list capabilities {
        description
          "List of capabilities related to this rx-array";
        uses mcap:support-for-ul;
      }
    }

    list relations {
      key "entity";
      config false;
      description
        "Structure describing relations between array elements";
      leaf entity {
        type uint16;
        description
          "Relation entity. Used as a key for list of relations.";
      }

      container array1 {
        description
          "Defnes name for first array";
        uses array-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
choice;
      }

      container array2 {
        description
          "Defnes name for second array";
        uses array-choice;
      }

      list types {
        key "relation-type";
        description
          "Defines relation type and pairs for array elements for given arrays";
        leaf relation-type {
          type enumeration {
            enum "SHARED" {
              description
                "SHARED";
            }
            enum "COALOCATED" {
              description
                "COALOCATED";
            }
          }
          description
            "Type of relation between array elements";
        }

        list pairs {
          key "element-array1";
          description
            "defines related array elements";
          leaf element-array1 {
            type uint16;
            description
              "Tells about id of element from array1";
          }

          leaf element-array2 {
            type uint16;
            description
              "Tells about id

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
of element from array2";
          }
        }
      }
    }

    container eaxc-id-group-configuration {
      if-feature "mcap:EAXC-ID-GROUP-SUPPORTED";
      description
        "This is the container for eAxC ID group configuration.";
      leaf max-num-tx-eaxc-id-groups {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-tx-eaxc-id-groups";
          require-instance false;
        }
      }

      leaf max-num-tx-eaxc-ids-per-group {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-tx-eaxc-ids-per-group";
          require-instance false;
        }
      }

      leaf max-num-rx-eaxc-id-groups {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-rx-eaxc-id-groups";
          require-instance false;
        }
      }

      leaf max-num-rx-eaxc-ids-per-group {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-rx-eaxc-ids-per-group";
          require-instance false;
        }
      }

      list tx-eaxc-id-group {
        must "count(../tx-eaxc-id-group) &lt;= ../max-num-tx-eaxc-id-groups" {
          error-message
            "too many tx-eaxcid-id groups";
        }
        key "representative-tx-eaxc-id";
        description
          "This is a list of the groups of the eAxC IDs assigned to low-level-tx-endpoints.
           Each group is a union of the 'member-tx-eaxc-id's and a 'representative-tx-eaxc-id'.
           The low-level-tx-endpoint associated to 'representative-tx-eaxc-id' is able to
           process the DL C-plane information for all the low-level-tx-endpoints associated
           to 'member-tx-eaxc-id's.

           Take Note: This list should only contain eAxC IDs assigned to a tx-endpoint.";
        leaf representative-tx-eaxc-id {
          type uin

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t16;
          description
            "This parameter contains eAxC_ID that populates content of C-Plane section
             extension 11 to eAxC_IDs configured in the group as 'member-tx-eaxc-id'(s).";
        }

        leaf-list member-tx-eaxc-id {
          type uint16;
          must "count(../member-tx-eaxc-id) &lt;= ../../max-num-tx-eaxc-ids-per-group" {
            error-message
              "too many tx-eaxcid-id members";
          }
          must "current()!=../representative-tx-eaxc-id" {
            error-message
              "the representative eaxcid does not need to be a list member";
          }
          description
            "This is a list of member eAxC IDs, which together with the representative-tx-eaxc-id,
             are assigned to low-level-tx-endpoints in the group.";
        }
      }

      list rx-eaxc-id-group {
        must "count(../rx-eaxc-id-group) &lt;= ../max-num-rx-eaxc-id-groups" {
          error-message
            "too many rx-eaxcid-id groups";
        }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      key "representative-rx-eaxc-id";
        description
          "This is a list of the groups of the eAxC IDs assigned to low-level-rx-endpoints.
           Each group is a union of 'member-rx-eaxc-id's and a 'representative-rx-eaxc-id'.
           The low-level-rx-endpoint associated to 'representative-rx-eaxc-id' is able to
           process the UL C-plane information for all the low-level-rx-endpoints associated
           to 'member-rx-eaxc-id's.

           Take Note: This list should only contain eAxC IDs assigned to a rx-endpoint.";
        leaf representative-rx-eaxc-id {
          type uint16;
          description
            "This parameter contains eAxC_ID that populates content of C-Plane section
             extension 11 to eAxC_IDs configured in the group as 'member-rx-eaxc-id'(s).";
        }

        leaf-list member-rx-eaxc-id {
          type uint16;
          must "count(../member-rx-eaxc-id) &lt;= ../../max-num-rx-eaxc-ids-per-group" {
            error-message


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
           "too many rx-eaxcid-id members";
          }
          must "current()!=../representative-rx-eaxc-id" {
            error-message
              "the representative eaxcid does not need to be a list member";
          }
          description
            "This is a list of member eAxC IDs assigned to low-level-rx-endpoints in the group.";
        }
      }
    }
  }

  grouping tx-array-notification-group {
    description
      "Grouping for tx-array for notification";
    list tx-array-carriers {
      key "name";
      description
        "notification of state change for tx-array-carriers";
      leaf name {
        type leafref {
          path "/user-plane-configuration/tx-array-carriers/name";
        }
        description
          "name of tx-array-carriers is notified at state change";
      }

      leaf state {
        type leafref {
          path "/user-plane-configuration/tx-array-carriers/state";
        }
        description
          "state of tx-array-carriers is notified at state

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
change";
      }
    }
  }

  grouping rx-array-notification-group {
    description
      "Grouping for rx-array for notification";
    list rx-array-carriers {
      key "name";
      description
        "Notification used to inform about state change of rx-array-carriers";
      leaf name {
        type leafref {
          path "/user-plane-configuration/rx-array-carriers/name";
        }
        description
          "name of rx-array-carriers is notified at state change";
      }

      leaf state {
        type leafref {
          path "/user-plane-configuration/rx-array-carriers/state";
        }
        description
          "state of rx-array-carriers is notified at state change";
      }
    }
  }

  container user-plane-configuration {
    description
      "top level container for user plane configuration";
    uses uplane-conf-group;
  }

  notification tx-array-carriers-state-change {
    description
      "Notification used to inform about state change of tx-array-carriers";
    uses tx-array-n

[INF]: LN: Session 1: sending message:

#228


[INF]: LN: Session 1: sending message:
otification-group;
  }

  notification rx-array-carriers-state-change {
    description
      "Notification used to inform about state change of tx-array-carriers";
    uses rx-array-notification-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 1 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="87"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>vendor-specific-energy-saving</identifier><version>2021-04-09</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "vendor-specific-energy-saving" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="87"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module vendor-specific-energy-saving {
  yang-version 1.1;
  namespace "urn:vs:energy-saving:1.0";
  prefix vs-es;

  import ietf-hardware {
    prefix hw;
  }

  import o-ran-hardware {
    prefix o-ran-hw;
  }

  import o-ran-uplane-conf-option8 {
    prefix o-ran-upcf-op8;
  }

  organization
    "OTIC";
  contact
    "www.otic.com";
  description
    "This module defines the configuration for hardware energy saving for Vendor specific energy saving YANG.";

  revision 2021-04-09 {
    description
      "version 1.1.0

       1) added energy saving type and time ";
  }

  augment "/hw:hardware/hw:component" {
    when "(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-RADIO')) or\n(derived-from-or-self(hw:class, 'o-ran-hw:O-RAN-HW-COMPONENT'))";
    description
      "New energy saving parameters for ietf-hardware";
    leaf energy-saving-type {
      when "../o-ran-hw:

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
energy-saving-enabled = 'true'";
      if-feature "o-ran-hw:ENERGYSAVING";
      type enumeration {
        enum "DEEP_SAVING" {
          description
            "the device to turn off all functions that the MPlane function becomes invalid
             and can only be awakened by the energy-saving-time delay of the node.";
        }
        enum "SHALLOW_SAVING" {
          description
            "the device can be awoken at any time via energy-saving-enabled";
        }
      }
      default "SHALLOW_SAVING";
      config true;
      description
        "Equipment energy saving type, divided into deep energy saving and shallow
         energy saving. Deep energy saving can enable the device to turn off all functions
         to achieve the maximum energy saving effect, but a wake-up time needs to be specified,
         while light sleep function can turn off some functions (such as power amplifier)
         to save some power consumption";
    }

    leaf energy-saving-time {
      when "../energy-saving-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
type = 'DEEP_SAVING'";
      if-feature "o-ran-hw:ENERGYSAVING";
      type uint32;
      units "seconds";
      config true;
      description
        "When in deep saving type, how long does it take to wake up the device";
    }
  }

  augment "/o-ran-upcf-op8:user-plane-configuration/o-ran-upcf-op8:tx-array-carriers" {
    when "(/o-ran-upcf-op8:user-plane-configuration/o-ran-upcf-op8:tx-array-carriers/o-ran-upcf-op8:rw-duplex-scheme = 'TDD')";
    container subframe-switch {
      leaf subframe-switch-period {
        type enumeration {
          enum "10ms" {
            description
              "the statistical period of subframe shutdown is 10ms";
          }
          enum "20ms" {
            description
              "the statistical period of subframe shutdown is 20ms";
          }
        }
        default "20ms";
        description
          "the statistical period of subframe";
      }

      leaf subframe-slot-switch-10ms {
        when "../subframe-switch-period = '10ms'";
        type uint3

[INF]: LN: Session 1: sending message:

#504


[INF]: LN: Session 1: sending message:
2 {
          range "0..1048575";
        }
        default "1048575";
        description
          "The low 20bit is used as the switch indication of subframe slot";
      }

      leaf subframe-slot-switch-20ms {
        when "../subframe-switch-period = '20ms'";
        type uint64 {
          range "0..1099511627775";
        }
        default "1099511627775";
        description
          "The low 40bit is used as the switch indication of subframe slot";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="88"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-uplane-conf-option8</identifier><version>2020-03-08</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-uplane-conf-option8" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="88"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-uplane-conf-option8 {
  yang-version 1.1;
  namespace "urn:o-ran:uplane-conf-option8:1.0";
  prefix o-ran-uplane-conf-option8;

  import o-ran-processing-element {
    prefix o-ran-pe;
  }

  import ietf-interfaces {
    prefix if;
  }

  import o-ran-module-cap {
    prefix mcap;
    revision-date 2020-04-17;
  }

  import o-ran-compression-factors {
    prefix cf;
    revision-date 2020-03-05;
  }

  import o-ran-uplane-conf {
    prefix o-ran-uplane-conf;
    revision-date 2020-04-17;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the module capabilities for
     the O-RAN option8 split Radio Unit U-Plane configuration.

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WAR

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
RANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
butions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-03-08 {
    description
      "version 1.0.0

       1) created based on o-ran-uplane-conf v3.0";
  }

  typedef polarisation_type {
    type enumeration {
      enum "MINUS_45" {
        description
          "MINUS_45";
      }
      enum "ZERO" {
        description
          "ZERO";
      }
      enum "PLUS_45" {
        description
          "PLUS_45";
      }
      enum "PLUS_90" {
        description
          "PLUS_90";
      }
    }
    description
      "Type definition for polarisations";
  }

  grouping eaxc {
    description
      "One eAxC identifier (eAxC ID) com

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
prises a band and sector
       identifier (BandSector_ID), a component-carrier identifier (CC_ID) and a
       spatial stream identifier (RU_Port_ID).

       In this version of the specification, one eAxC contains only one spatial
       stream (i.e. one beam per subcarrier) at a time.

       Bit allocation is subdivided as follows:
       *    O_DU_Port_ID: Used to differentiate processing units at O-DU
       *    BandSector_ID: Aggregated cell identifier
       *    CC_ID: distinguishes Carrier Components
       *    RU_Port_ID: Used to differentiate spatial streams or beams on the O-RU

       The bitwidth of each of the above fields is variable this model is supposed to check
        if we are occpying bits continuously but we do not have to occupy all 16 bits";
    leaf o-du-port-bitmask {
      type uint16;
      mandatory true;
      description
        "mask for eaxc-id bits used to encode O-DU Port ID";
    }

    leaf band-sector-bitmask {
      type uint16;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    mandatory true;
      description
        "mask for eaxc-id bits used to encode the band sector ID";
    }

    leaf ccid-bitmask {
      type uint16;
      mandatory true;
      description
        "mask for eaxc-id bits used to encode the component carrier id";
    }

    leaf ru-port-bitmask {
      type uint16;
      mandatory true;
      description
        "mask for eaxc-id bits used to encode the O-RU Port ID";
    }

    leaf eaxc-id {
      type uint16;
      mandatory true;
      description
        "encoded value of eaxcid to be read by CU-Plane";
    }
  }

  grouping parameters {
    description
      "Grouping of all parameters common between UL and DL";
    leaf name {
      type string;
      mandatory true;
      description
        "Unique name of array antenna";
    }

    leaf number-of-rows {
      type uint16;
      mandatory true;
      description
        "Number of rows array elements are shaped into - M";
    }

    leaf number-of-columns {
      type uint16;
      mandatory true

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
;
      description
        "Number of columns array elements are shaped into - N";
    }

    leaf number-of-array-layers {
      type uint8;
      mandatory true;
      description
        "Number of array layers array elements are shaped into - Q";
    }

    leaf horizontal-spacing {
      type decimal64 {
        fraction-digits 5;
      }
      units "Meter";
      description
        "Average distance between centers of nearby AE in horizontal direction (in array coordinates system)";
    }

    leaf vertical-spacing {
      type decimal64 {
        fraction-digits 5;
      }
      units "Meter";
      description
        "Average distance between centers of nearby AE in vertical direction (in array coordinates system)";
    }

    container normal-vector-direction {
      description
        "Counter-clockwise rotation around z and y axis.";
      leaf azimuth-angle {
        type decimal64 {
          fraction-digits 4;
        }
        units "Degrees";
        description
          "Azimuth angle,

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
counter-clockwise rotation around z-axis. Value 'zero' points to broad-side, value '90' points to y-axis";
      }

      leaf zenith-angle {
        type decimal64 {
          fraction-digits 4;
        }
        units "Degrees";
        description
          "Zenith angle, counter-clockwise rotation around y-axis. Value 'zero' points to zenith, value '90' points to horizon";
      }
    }

    container leftmost-bottom-array-element-position {
      description
        "Structure describing position of leftmost, bottom array element.";
      leaf x {
        type decimal64 {
          fraction-digits 4;
        }
        units "Meter";
        description
          "X dimension of position of leftmost, bottom array element";
      }

      leaf y {
        type decimal64 {
          fraction-digits 4;
        }
        units "Meter";
        description
          "Y dimension of position of leftmost, bottom array element";
      }

      leaf z {
        type decimal64 {
          fraction-digits 4;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 }
        units "Meter";
        description
          "Z dimension of position of leftmost, bottom array element";
      }
    }

    list polarisations {
      key "p";
      min-elements 1;
      max-elements 2;
      description
        "List of supported polarisations.";
      leaf p {
        type uint8;
        mandatory true;
        description
          "Polarisation index. See CUS-plane";
      }

      leaf polarisation {
        type polarisation_type;
        mandatory true;
        description
          "Type of polarisation supported by array.";
      }
    }

    leaf band-number {
      type leafref {
        path "/mcap:module-capability/mcap:band-capabilities/mcap:band-number";
      }
      mandatory true;
      description
        "This parameter informing which frequency band particular antenna
         array is serving for.
         Intended use is to deal with multiband solutions.";
    }
  }

  grouping array-choice {
    description
      "Elements which groups choice for antenna

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 type";
    choice antenna-type {
      description
        "Choice for antenna type";
      case tx {
        leaf tx-array-name {
          type leafref {
            path "/o-ran-uplane-conf:user-plane-configuration/o-ran-uplane-conf:tx-arrays/o-ran-uplane-conf:name";
          }
          description
            "Leafref to tx array if such is choosen";
        }
      }

      case rx {
        leaf rx-array-name {
          type leafref {
            path "/o-ran-uplane-conf:user-plane-configuration/o-ran-uplane-conf:rx-arrays/o-ran-uplane-conf:name";
          }
          description
            "Leafref to rx array if such is choosen";
        }
      }
    }
  }

  grouping tx-common-array-carrier-elements {
    description
      "This grouping containes all common parameters for tx-array-carriers and rx-array-carriers";
    leaf absolute-frequency-center {
      type uint32;
      mandatory true;
      description
        "Absolute Radio Frequency Channel Number - indirectly indicates RF center carr

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ier frequency of signal.
         Reflected in arfcn.";
    }

    leaf center-of-channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Center frequency of channel bandwidth in Hz. Common for all numerologies.";
    }

    leaf channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Width of carrier given in Hertz";
    }

    leaf active {
      type enumeration {
        enum "INACTIVE" {
          description
            "carrier does not provide signal - transmission is disabled";
        }
        enum "SLEEP" {
          description
            "carrier is fully configured and was active but is energy saving mode";
        }
        enum "ACTIVE" {
          description
            "carrier is fully configured and properly providing the signal";
        }
      }
      default "INACTIVE";
      description
        "Indicates if transmission is enabled for this array carriers. Note that Netconf server u

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ses state parameter
         to indicate actual state of array carriers operation. When array carriers is in sleep status,
         Netconf server rejects all other operation request to tx-array-carriers object except either request to change from sleep
         to active status or delete MO operation (see 4.8) to the object.";
    }

    leaf state {
      type enumeration {
        enum "DISABLED" {
          description
            "array carrier is not active - transmission of signal is disabled.";
        }
        enum "BUSY" {
          description
            "array carrier is processing an operation requested by change of active parameter.
             When array carriers is BUSY the transmission of signal is not guaranteed.";
        }
        enum "READY" {
          description
            "array carrier had completed activation operation - is active and transmission of signal is ongoing.";
        }
      }
      config false;
      mandatory true;
      description
        "Indicates state o

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
f array carriers activation operation";
    }

    leaf type {
      type enumeration {
        enum "NR" {
          description
            "5G technology";
        }
        enum "LTE" {
          description
            "LTE technology";
        }
        enum "DSS_LTE_NR" {
          if-feature "mcap:DSS_LTE_NR";
          description
            "NR and LTE technologies in Dynamic Spectrum Sharing mode";
        }
      }
      description
        "Type of carrier. Indicates array-carrier technology.";
    }

    leaf duplex-scheme {
      type enumeration {
        enum "TDD" {
          description
            "TDD scheme";
        }
        enum "FDD" {
          description
            "FDD scheme";
        }
      }
      config false;
      description
        "Type of duplex scheme O-RU supports.";
    }

    leaf rw-duplex-scheme {
      type leafref {
        path "/user-plane-configuration/tx-array-carriers[name=current()/../name]/duplex-scheme";
        require-instance false;
      }
      d

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
escription
        "Config true type of duplex scheme.";
    }

    leaf rw-type {
      type leafref {
        path "/user-plane-configuration/tx-array-carriers[name=current()/../name]/type";
        require-instance false;
      }
      description
        "Config true type of carrier.";
    }
  }

  grouping rx-common-array-carrier-elements {
    description
      "This grouping containes all common parameters for tx-array-carriers and rx-array-carriers";
    leaf absolute-frequency-center {
      type uint32;
      mandatory true;
      description
        "Absolute Radio Frequency Channel Number - indirectly indicates RF center carrier frequency of signal.
         Reflected in arfcn.";
    }

    leaf center-of-channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description
        "Center frequency of channel bandwidth in Hz. Common for all numerologies.";
    }

    leaf channel-bandwidth {
      type uint64;
      units "Hz";
      mandatory true;
      description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       "Width of carrier given in Hertz";
    }

    leaf active {
      type enumeration {
        enum "INACTIVE" {
          description
            "carrier does not provide signal - transmission is disabled";
        }
        enum "SLEEP" {
          description
            "carrier is fully configured and was active but is energy saving mode";
        }
        enum "ACTIVE" {
          description
            "carrier is fully configured and properly providing the signal";
        }
      }
      default "INACTIVE";
      description
        "Indicates if transmission is enabled for this array carriers. Note that Netconf server uses state parameter
         to indicate actual state of array carriers operation. When array carriers is in sleep status,
         Netconf server rejects all other operation request to tx-array-carriers object except either request to change from sleep
         to active status or delete MO operation (see 4.8) to the object.";
    }

    leaf state {
      type enumeration

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 {
        enum "DISABLED" {
          description
            "array carrier is not active - transmission of signal is disabled.";
        }
        enum "BUSY" {
          description
            "array carrier is processing an operation requested by change of active parameter.
             When array carriers is BUSY the transmission of signal is not guaranteed.";
        }
        enum "READY" {
          description
            "array carrier had completed activation operation - is active and transmission of signal is ongoing.";
        }
      }
      config false;
      mandatory true;
      description
        "Indicates state of array carriers activation operation";
    }

    leaf type {
      type enumeration {
        enum "NR" {
          description
            "5G technology";
        }
        enum "LTE" {
          description
            "LTE technology";
        }
        enum "DSS_LTE_NR" {
          if-feature "mcap:DSS_LTE_NR";
          description
            "NR and LTE technologies

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
in Dynamic Spectrum Sharing mode";
        }
      }
      description
        "Type of carrier. Indicates array-carrier technology.";
    }

    leaf duplex-scheme {
      type enumeration {
        enum "TDD" {
          description
            "TDD scheme";
        }
        enum "FDD" {
          description
            "FDD scheme";
        }
      }
      config false;
      description
        "Type of duplex scheme O-RU supports.";
    }
  }

  grouping uplane-conf-group {
    description
      "Grouping for uplane configuration related parameters";
    list tx-links {
      key "name";
      description
        "Object model for tx-link configuration";
      leaf name {
        type string;
        description
          "Unique name of tx-link object.";
      }

      leaf processing-element {
        type leafref {
          path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
        }
        mandatory true;
        description
          "Contains name of processing-element to

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
be used as transport by tx-link";
      }

      leaf tx-array-carrier {
        type leafref {
          path "/user-plane-configuration/tx-array-carriers/name";
        }
        mandatory true;
        description
          "Contains name of tx-array-carriers MO to be used as transport by tx-link";
      }

      leaf tx-endpoint {
        type leafref {
          path "/user-plane-configuration/tx-endpoints/name";
        }
        mandatory true;
        description
          "Contains name of tx-endpoints MO to be used as transport by tx-link";
      }
    }

    list rx-links {
      key "name";
      description
        "Object model for rx-links configuration";
      leaf name {
        type string;
        description
          "Unique name of rx-links object.";
      }

      leaf processing-element {
        type leafref {
          path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
        }
        mandatory true;
        description
          "Contains name of processing-e

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
lement to be used as transport by rx-link";
      }

      leaf rx-array-carrier {
        type leafref {
          path "/user-plane-configuration/rx-array-carriers/name";
        }
        mandatory true;
        description
          "Contains name of rx-array-carriers MO to be used as transport by rx-links";
      }

      leaf rx-endpoint {
        type leafref {
          path "/user-plane-configuration/rx-endpoints/name";
        }
        mandatory true;
        description
          "Contains name of rx-endpoints MO to be used as transport by rx-links";
      }
    }

    list endpoint-types-option8 {
      key "id";
      config false;
      description
        "Properties of endpoint that are common to multiple endpoints if such are identified";
      leaf id {
        type uint16;
        description
          "Identifies type of endpoints sharing same properties. Values shall start with 0 and shall be allocated without gaps.";
      }
    }

    list static-tx-endpoints {
      key "name";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
config false;
      description
        "Object model for static-tx-endpoints configuration";
      leaf name {
        type string;
        description
          "Unique name of static-tx-endpoints object.";
      }

      leaf-list restricted-interfaces {
        type leafref {
          path "/if:interfaces/if:interface/if:name";
        }
        description
          "Optionally used to indicate that a low-level link is constrained to operate only via a subset of the available interfaces.";
      }

      leaf array {
        type leafref {
          path "/user-plane-configuration/tx-arrays/name";
        }
        mandatory true;
        description
          "Contains distname of tx-arrays, particular tx-endpoints is in hardware dependency with.
           Note: single instance of tx-arrays can be referenced by many instances of tx-endpoints
           (e.g. to allow DU to handle multiple fronthauls and multiple component carriers).";
      }

      leaf endpoint-type {
        type leafref {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    path "../../endpoint-types-option8/id";
        }
        description
          "Reference to endpoint type capabilities list element supported by this endpoint";
      }
    }

    list static-rx-endpoints {
      key "name";
      config false;
      description
        "Object model for static-rx-endpoints configuration";
      leaf name {
        type string;
        description
          "Unique name of static-rx-endpoints object.";
      }

      leaf-list restricted-interfaces {
        type leafref {
          path "/if:interfaces/if:interface/if:name";
        }
        description
          "Optionally used to indicate that a low-level link is constrained to operate only via a subset of the available interfaces.";
      }

      leaf array {
        type leafref {
          path "/user-plane-configuration/rx-arrays/name";
        }
        mandatory true;
        description
          "Contains distname of rx-arrays, particular rx-endpoints is in hardware dependency with.
           Note: singl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e instance of rx-arrays can be referenced by many instances of rx-endpoints
           (e.g. to allow DU to handle multiple fronthauls and multiple component carriers).";
      }

      leaf endpoint-type {
        type leafref {
          path "../../endpoint-types-option8/id";
        }
        description
          "Reference to endpoint type capabilities list element supported by this endpoint";
      }
    }

    list tx-endpoints {
      key "name";
      description
        "Object model for tx-endpoints configuration - augmented static-tx-endpoints by local-address
         which cannot be added to static tx-endpoints as we cannot have modificable element in static object";
      leaf name {
        type leafref {
          path "/user-plane-configuration/static-tx-endpoints/name";
          require-instance false;
        }
        mandatory true;
        description
          "Unique name of tx-endpoint object. Reference to static object";
      }

      container compression {
        presence "T

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
his container shall exists to avoid missaligned compression
         methods between devices";
        description
          "Container which consists of global configurable parameters for compression";
        uses cf:compression-details;
      }

      container e-axcid {
        description
          "Contains local address of RX endpoint offered by Netconf server in condition of CPRI option8 split.";
        uses eaxc;
      }
    }

    list rx-endpoints {
      key "name";
      description
        "Object model for rx-endpoint configuration - augmented static-rx-endpoints by local-address
         which cannot be added to static rx-endpoints as we cannot have modificable element in static object";
      leaf name {
        type leafref {
          path "/user-plane-configuration/static-rx-endpoints/name";
          require-instance false;
        }
        mandatory true;
        description
          "Unique name of rx-endpoint object. Reference to static object";
      }

      container compressio

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
n {
        description
          "Container which consists of global configurable parameters for compression";
        uses cf:compression-details;
      }

      container e-axcid {
        description
          "Contains local address of RX endpoint offered by Netconf server in condition of CPRI option8 split.";
        uses eaxc;
      }

      leaf non-time-managed-delay-enabled {
        type boolean;
        default "false";
        description
          "Tells if non time managed delay shall be enabled";
      }
    }

    list tx-array-carriers {
      key "name";
      description
        "Object model for tx-array-carriers configuration";
      leaf name {
        type string;
        description
          "Unique name of tx-array-carriers object.";
      }

      uses tx-common-array-carrier-elements;

      leaf band-number {
        if-feature "mcap:LAA";
        type leafref {
          path "/mcap:module-capability/mcap:band-capabilities/mcap:band-number";
          require-instance false;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     }
        description
          "This parameter informing which frequency band particular antenna
           array is serving for.
           Intended use is to deal with multiband solutions.";
      }

      container lte-tdd-frame {
        when "(/user-plane-configuration/tx-array-carriers/rw-type = 'LTE') and  (/user-plane-configuration/tx-array-carriers/rw-duplex-scheme = 'TDD')";
        description
          "Container which consists of global configurable parameters for tdd Frame";
        leaf subframe-assignment {
          type enumeration {
            enum "SAO" {
              description
                "subframe assignment configuration 0";
            }
            enum "SA1" {
              description
                "subframe assignment configuration 1";
            }
            enum "SA2" {
              description
                "subframe assignment configuration 2";
            }
            enum "SA3" {
              description
                "subframe assignment configurat

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ion 3";
            }
            enum "SA4" {
              description
                "subframe assignment configuration 4";
            }
            enum "SA5" {
              description
                "subframe assignment configuration 5";
            }
            enum "SA6" {
              description
                "subframe assignment configuration 6";
            }
          }
          mandatory true;
          description
            "Indicates DL/UL subframe configuration as specified in
             3GPP TS 36.211 [v15.3.0, table 4.2-2]";
        }

        leaf special-subframe-pattern {
          type enumeration {
            enum "SPP0" {
              description
                "special subframe pattern configuration 0";
            }
            enum "SPP1" {
              description
                "special subframe pattern configuration 1";
            }
            enum "SPP2" {
              description
                "special subframe pattern configuration 2";
            }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          enum "SPP3" {
              description
                "special subframe pattern configuration 3";
            }
            enum "SPP4" {
              description
                "special subframe pattern configuration 4";
            }
            enum "SPP5" {
              description
                "special subframe pattern configuration 5";
            }
            enum "SPP6" {
              description
                "special subframe pattern configuration 6";
            }
            enum "SPP7" {
              description
                "special subframe pattern configuration 7";
            }
            enum "SPP8" {
              description
                "special subframe pattern configuration 8";
            }
            enum "SPP9" {
              description
                "special subframe pattern configuration 9";
            }
            enum "SPP10" {
              description
                "special subframe pattern configuration 10";
            }
          }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      mandatory true;
          description
            "Indicates TDD special subframe configuration as in TS 36.211
             [v15.3.0, table 4.2-1] ";
        }
      }

      leaf gain {
        type decimal64 {
          fraction-digits 4;
        }
        units "dB";
        mandatory true;
        description
          "Transmission gain in dB. Value applicable to each array element carrier belonging to array carrier.";
      }

      leaf downlink-radio-frame-offset {
        type uint32 {
          range "0..12288000";
        }
        mandatory true;
        description
          "This parameter is used for offsetting the starting position of 10ms radio frame.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.
           Note2: Unit is 1/1.2288e9 Hz and accuracy is 1/4 Tc. Then, its range is calculated 0..12288000.";
      }

      leaf downlink-sfn-offset {
        type int16 {
          range "-32768..32767";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  }
        mandatory true;
        description
          "This parameter is used for offsetting SFN value.
           Unit is in 10ms.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.";
      }
    }

    list rx-array-carriers {
      key "name";
      description
        "Object model for rx-array-carriers configuration";
      leaf name {
        type string;
        description
          "Unique name of rx-array-carriers object.";
      }

      uses rx-common-array-carrier-elements;

      leaf downlink-radio-frame-offset {
        type uint32 {
          range "0..12288000";
        }
        mandatory true;
        description
          "This parameter is used for offsetting the starting position of 10ms radio frame.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.
           Note2: Unit is 1/1.2288e9 Hz and accuracy is 1/4 Tc. Then, its range is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 calculated 0..12288000.";
      }

      leaf downlink-sfn-offset {
        type int16 {
          range "-32768..32767";
        }
        mandatory true;
        description
          "This parameter is used for offsetting SFN value.
           Unit is in 10ms.
           Note: The value should have same value within DU to all tx-array-carrierss that have same frequency and bandwidth.";
      }

      leaf gain-correction {
        type decimal64 {
          fraction-digits 4;
        }
        units "dB";
        mandatory true;
        description
          "Gain correction of RF path linked with array element or array layers";
      }

      leaf n-ta-offset {
        type uint32;
        units "Tc";
        mandatory true;
        description
          "Value of configurable N-TA offset
           units are Tc=~0.5ns=1/1.96608GHz";
      }
    }

    list tx-arrays {
      key "name";
      config false;
      description
        "Structure describing TX array parameters";
      uses parameters;



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    leaf max-gain {
        type decimal64 {
          fraction-digits 4;
        }
        units "dB";
        mandatory true;
        description
          "Max gain of RF path linked with array element (minimum over elements of array) or array layers";
      }

      leaf independent-power-budget {
        type boolean;
        mandatory true;
        description
          "If true then every element of array has own, power budget independent from power budget of other elements.
           Else all elements of array that are at same row and column and have same polarization share power budget";
      }

      list capabilities {
        description
          "List of capabilities related to this tx-array";
        uses mcap:support-for-dl;
      }
    }

    list rx-arrays {
      key "name";
      config false;
      description
        "Structure describing RX array parameters";
      uses parameters;

      container gain-correction-range {
        description
          "Array gain correction factor";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
        leaf max {
          type decimal64 {
            fraction-digits 4;
          }
          units "dB";
          mandatory true;
          description
            "Array gain correction factor - maximum allowed value";
        }

        leaf min {
          type decimal64 {
            fraction-digits 4;
          }
          units "dB";
          mandatory true;
          description
            "Array gain correction factor - minimum allowed value";
        }
      }

      list capabilities {
        description
          "List of capabilities related to this rx-array";
        uses mcap:support-for-ul;
      }
    }

    list relations {
      key "entity";
      config false;
      description
        "Structure describing relations between array elements";
      leaf entity {
        type uint16;
        description
          "Relation entity. Used as a key for list of relations.";
      }

      container array1 {
        description
          "Defnes name for first array";
        uses array-

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
choice;
      }

      container array2 {
        description
          "Defnes name for second array";
        uses array-choice;
      }

      list types {
        key "relation-type";
        description
          "Defines relation type and pairs for array elements for given arrays";
        leaf relation-type {
          type enumeration {
            enum "SHARED" {
              description
                "SHARED";
            }
            enum "COALOCATED" {
              description
                "COALOCATED";
            }
          }
          description
            "Type of relation between array elements";
        }

        list pairs {
          key "element-array1";
          description
            "defines related array elements";
          leaf element-array1 {
            type uint16;
            description
              "Tells about id of element from array1";
          }

          leaf element-array2 {
            type uint16;
            description
              "Tells about id

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
of element from array2";
          }
        }
      }
    }

    container eaxc-id-group-configuration {
      if-feature "mcap:EAXC-ID-GROUP-SUPPORTED";
      description
        "This is the container for eAxC ID group configuration.";
      leaf max-num-tx-eaxc-id-groups {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-tx-eaxc-id-groups";
          require-instance false;
        }
      }

      leaf max-num-tx-eaxc-ids-per-group {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-tx-eaxc-ids-per-group";
          require-instance false;
        }
      }

      leaf max-num-rx-eaxc-id-groups {
        type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-rx-eaxc-id-groups";
          require-instance false;
        }
      }

      leaf max-num-rx-eaxc-ids-per-group {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   type leafref {
          path "/mcap:module-capability/mcap:ru-capabilities/mcap:eaxcid-grouping-capabilities/mcap:max-num-rx-eaxc-ids-per-group";
          require-instance false;
        }
      }

      list tx-eaxc-id-group {
        must "count(../tx-eaxc-id-group) &lt;= ../max-num-tx-eaxc-id-groups" {
          error-message
            "too many tx-eaxcid-id groups";
        }
        key "representative-tx-eaxc-id";
        description
          "This is a list of the groups of the eAxC IDs assigned to low-level-tx-endpoints.
           Each group is a union of the 'member-tx-eaxc-id's and a 'representative-tx-eaxc-id'.
           The low-level-tx-endpoint associated to 'representative-tx-eaxc-id' is able to
           process the DL C-plane information for all the low-level-tx-endpoints associated
           to 'member-tx-eaxc-id's.

           Take Note: This list should only contain eAxC IDs assigned to a tx-endpoint.";
        leaf representative-tx-eaxc-id {
          type uin

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t16;
          description
            "This parameter contains eAxC_ID that populates content of C-Plane section
             extension 11 to eAxC_IDs configured in the group as 'member-tx-eaxc-id'(s).";
        }

        leaf-list member-tx-eaxc-id {
          type uint16;
          must "count(../member-tx-eaxc-id) &lt;= ../../max-num-tx-eaxc-ids-per-group" {
            error-message
              "too many tx-eaxcid-id members";
          }
          must "current()!=../representative-tx-eaxc-id" {
            error-message
              "the representative eaxcid does not need to be a list member";
          }
          description
            "This is a list of member eAxC IDs, which together with the representative-tx-eaxc-id,
             are assigned to low-level-tx-endpoints in the group.";
        }
      }

      list rx-eaxc-id-group {
        must "count(../rx-eaxc-id-group) &lt;= ../max-num-rx-eaxc-id-groups" {
          error-message
            "too many rx-eaxcid-id groups";
        }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      key "representative-rx-eaxc-id";
        description
          "This is a list of the groups of the eAxC IDs assigned to low-level-rx-endpoints.
           Each group is a union of 'member-rx-eaxc-id's and a 'representative-rx-eaxc-id'.
           The low-level-rx-endpoint associated to 'representative-rx-eaxc-id' is able to
           process the UL C-plane information for all the low-level-rx-endpoints associated
           to 'member-rx-eaxc-id's.

           Take Note: This list should only contain eAxC IDs assigned to a rx-endpoint.";
        leaf representative-rx-eaxc-id {
          type uint16;
          description
            "This parameter contains eAxC_ID that populates content of C-Plane section
             extension 11 to eAxC_IDs configured in the group as 'member-rx-eaxc-id'(s).";
        }

        leaf-list member-rx-eaxc-id {
          type uint16;
          must "count(../member-rx-eaxc-id) &lt;= ../../max-num-rx-eaxc-ids-per-group" {
            error-message


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
           "too many rx-eaxcid-id members";
          }
          must "current()!=../representative-rx-eaxc-id" {
            error-message
              "the representative eaxcid does not need to be a list member";
          }
          description
            "This is a list of member eAxC IDs assigned to low-level-rx-endpoints in the group.";
        }
      }
    }
  }

  grouping tx-array-notification-group {
    description
      "Grouping for tx-array for notification";
    list tx-array-carriers {
      key "name";
      description
        "notification of state change for tx-array-carriers";
      leaf name {
        type leafref {
          path "/user-plane-configuration/tx-array-carriers/name";
        }
        description
          "name of tx-array-carriers is notified at state change";
      }

      leaf state {
        type leafref {
          path "/user-plane-configuration/tx-array-carriers/state";
        }
        description
          "state of tx-array-carriers is notified at state

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
change";
      }
    }
  }

  grouping rx-array-notification-group {
    description
      "Grouping for rx-array for notification";
    list rx-array-carriers {
      key "name";
      description
        "Notification used to inform about state change of rx-array-carriers";
      leaf name {
        type leafref {
          path "/user-plane-configuration/rx-array-carriers/name";
        }
        description
          "name of rx-array-carriers is notified at state change";
      }

      leaf state {
        type leafref {
          path "/user-plane-configuration/rx-array-carriers/state";
        }
        description
          "state of rx-array-carriers is notified at state change";
      }
    }
  }

  container user-plane-configuration {
    description
      "top level container for user plane configuration";
    uses uplane-conf-group;
  }

  notification tx-array-carriers-state-change {
    description
      "Notification used to inform about state change of tx-array-carriers";
    uses tx-array-n

[INF]: LN: Session 1: sending message:

#228


[INF]: LN: Session 1: sending message:
otification-group;
  }

  notification rx-array-carriers-state-change {
    description
      "Notification used to inform about state change of tx-array-carriers";
    uses rx-array-notification-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="89"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-processing-element-cpri</identifier><version>2020-05-19</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-processing-element-cpri" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="89"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-processing-element-cpri {
  yang-version 1.1;
  namespace "urn:o-ran:processing-element-cpri:1.0";
  prefix o-ran-elements-cpri;

  import o-ran-interfaces {
    prefix o-ran-int;
  }

  import o-ran-processing-element {
    prefix o-ran-pe;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the YANG definitions for mapping of transport flows to
     processing elements. Three options are supported:
     i) virtual MAC based mapping
     ii) MAC addrress + VLAN-ID based mapping
     iii) UDP/IP based mapping

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR P

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
URPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaim

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
er in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2020-05-19 {
    description
      "version 1.0.1

       1) add namespace of CPRI-INTERFACE to fixx bug";
    reference
      "xxxxxx";
  }
  revision 2020-05-18 {
    description
      "version 1.0.0

       1) created to support CPRI-INTERFACE";
    reference
      "xxxxxx";
  }

  augment "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:transport-flow" {
    container cpri-flow {
      when "../../../o-ran-pe:transport-session-type = 'CPRI-INTERFACE'";
      description
        "leafs for cpri type data flows";
      leaf compression-flag {
        type boolean;
        description
          "IQ data compression flag.
           true means IQ compression, false means no I

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
Q data compression.
           Default compression-flag = true and use block floating algorithm.";
      }

      leaf iq-start-bit {
        type uint16;
        description
          "IQ data start position of the antenna in CPRI link.";
      }

      leaf iq-end-bit {
        type uint16;
        description
          "IQ data end position of the antenna in CPRI link.";
      }

      leaf inband-compression-start-bit {
        type uint16;
        description
          "To provide compression information start bit per antenna.
           Compression bits are suggested to put at begining of CPRI bits as default to avoid fragement.
           If compression-flag = false, the information is ignored.";
      }

      leaf inband-compression-end-bit {
        type uint16;
        description
          "To provide compression information end bit per antenna.
           Compression bits are suggested to put at begining of CPRI bits as default to avoid fragement.
           If compression-flag = false, the

[INF]: LN: Session 1: sending message:

#652


[INF]: LN: Session 1: sending message:
 information is ignored.";
      }

      leaf agc-start-bit {
        type uint16;
        description
          "To provide agc information start bit per antenna.
           AGC bits are suggested to put at end of CPRI bits as default to avoid fragement.
           If AGC is not used, the information is ignored.";
      }

      leaf agc-end-bit {
        type uint16;
        description
          "To provide agc information end bit per antenna.
           AGC bits are suggested to put at end of CPRI bits as default to avoid fragement.
           If AGC is not used, the information is ignored.";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="90"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-ecpri-delay</identifier><version>2019-02-04</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-ecpri-delay" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="90"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-ecpri-delay {
  yang-version 1.1;
  namespace "urn:o-ran:message5:1.0";
  prefix o-ran-msg5;

  import o-ran-processing-element {
    prefix element;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module is an optional module for supporting eCPRI message 5 handling
     used for eCPRI based delay measurements.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without spec

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ific prior written permission.";

  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping msg5-group {
    container ru-compensation {
      config false;
      description
        "leafs for ru timing compensation based on message 5 handling";
      leaf tcv2 {
        type uint32;
        units "nanoseconds";
        description
          "a compensation value to account for expected delay from packet
           receipt at R2 to timestamping in the O-RU";
      }

      leaf tcv1 {
        type uint32;
        units "nanoseconds";
        description
          "a compensation value to account for expected processing time from
           timestamping in the O-RU until actual packet transmission at R3";
      }
    }

    leaf enable-message5 {
      type boolean;
      default "false";
      description
        "whether O-RU's eCPRI message 5 handl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ing is enabled.";
    }

    container message5-sessions {
      description
        "session information for eCPRI message 5";
      list session-parameters {
        key "session-id";
        description
          "list of MSG5 session information";
        leaf session-id {
          type uint32;
          description
            "Session ID for MSG5 responder";
        }

        leaf processing-element-name {
          type leafref {
            path "/element:processing-elements/element:ru-elements/element:name";
          }
          description
            "the name of the processing element used for MSG5";
        }

        container flow-state {
          config false;
          description
            "MSG5 flow state";
          leaf responses-transmitted {
            type uint32;
            description
              "The total number of eCPRI mesage 5 response messages transmitted by
               the O-RU.";
          }

          leaf requests-transmitted {
            type uint32;


[INF]: LN: Session 1: sending message:

#547


[INF]: LN: Session 1: sending message:
    description
              "The total number of eCPRI mesage 5 request messages transmitted by
               the O-RU.";
          }

          leaf followups-transmitted {
            type uint32;
            description
              "The total number of eCPRI mesage 5 follow up messages transmitted by
               the O-RU.";
          }
        }
      }
    }
  }

  container ecpri-delay-message {
    description
      "top level tree covering off O-DU to O-RU msg5 delay measurement";
    uses msg5-group;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 3 event new RPC.
Parent process name matched successfully
Send signal now
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="91"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>nts-nr-tdd-frame</identifier><version>2022-03-17</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "nts-nr-tdd-frame" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="91"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module nts-nr-tdd-frame {
  yang-version 1.1;
  namespace "urn:nts:yang:nr-tdd-frame";
  prefix nr-tdd-frame;

  import o-ran-uplane-conf-option8 {
    prefix ucf8;
  }

  organization
    "NTS";

  revision 2022-03-17 {
    description
      "add nr-tdd-frame container";
    reference
      "ORAN-WG4.M.0-v03.00";
  }

  augment "/ucf8:user-plane-configuration/ucf8:tx-array-carriers" {
    when "(/ucf8:user-plane-configuration/ucf8:tx-array-carriers/ucf8:rw-type = 'NR') and  (/ucf8:user-plane-configuration/ucf8:tx-array-carriers/ucf8:rw-duplex-scheme = 'TDD')";
    container nr-tdd-frame {
      description
        "Container which consists of global configurable parameters for tdd Frame";
      list tdd-pattern {
        key "name";
        description
          "";
        leaf name {
          type string;
          description
            "Unique name of tdd-pattern

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
object.
                \t Format:pattern1 or pattern2";
        }

        leaf transmissionPeriod {
          type enumeration {
            enum "ms0p5" {
              description
                "configuration 0";
            }
            enum "ms0p625" {
              description
                "configuration 1";
            }
            enum "ms1" {
              description
                "configuration 2";
            }
            enum "ms1p25" {
              description
                "configuration 3";
            }
            enum "ms2" {
              description
                "configuration 4";
            }
            enum "ms2p5" {
              description
                "configuration 5";
            }
            enum "ms5" {
              description
                "configuration 6";
            }
            enum "ms10" {
              description
                "configuration 7";
            }
          }
          mandatory true;
          description
            "";


[INF]: LN: Session 1: sending message:

#711


[INF]: LN: Session 1: sending message:
    }

        leaf downlinkSlot {
          type uint32 {
            range "0..320";
          }
          mandatory true;
          description
            "";
        }

        leaf downlinkSymbol {
          type uint32 {
            range "0..13";
          }
          mandatory true;
          description
            "";
        }

        leaf uplinkSlot {
          type uint32 {
            range "0..320";
          }
          mandatory true;
          description
            "";
        }

        leaf uplinkSymbol {
          type uint32 {
            range "0..13";
          }
          mandatory true;
          description
            "";
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="92"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>flexoran-rru-eu-topo</identifier><version>2020-07-30</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "flexoran-rru-eu-topo" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="92"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module flexoran-rru-eu-topo {
  yang-version 1.1;
  namespace "http://certusnet.com.cn/oam/o-ran-topo";
  prefix o-ran-topo;

  import ietf-yang-types {
    prefix yang;
    revision-date 2013-07-15;
  }

  organization
    "CertusNet 5G NR";
  description
    "base on o-ran-topo.yang";

  revision 2020-07-30 {
    description
      "Initial revision.";
  }

  container access-topology {
    config false;
    description
      "topology discover";
    leaf hardware-type {
      type enumeration {
        enum "EU" {
          description
            "A hub for accessing the RRU";
        }
        enum "RRU" {
          description
            "RRU for radio resources";
        }
      }
      config false;
      description
        "hardware type, 0 is hub, 1 is RU";
    }

    leaf hub-port {
      type uint64;
      description
        "Hub port number";
    }

    le

[INF]: LN: Session 1: sending message:

#199


[INF]: LN: Session 1: sending message:
af level {
      type uint64;
      description
        "link level number";
    }

    leaf bbu-port {
      type uint64;
      description
        "bbu port number";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="93"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>nts-delay-ru-cpri-extension</identifier><version>2023-02-22</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "nts-delay-ru-cpri-extension" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="93"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module nts-delay-ru-cpri-extension {
  yang-version 1.1;
  namespace "urn:nts:yang:delay-ru-cpri-extension:1.0";
  prefix nts-delay-ru-cpri-extension;

  import o-ran-delay-management-ru-cpri {
    prefix o-ran-delay-cpri;
  }

  organization
    "NTS";

  revision 2023-02-22 {
    description
      "add leaf ddc_delay_cfg";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2022-11-18 {
    description
      "add leaf ul-frame-offset";
    reference
      "ORAN-WG4.M.0-v03.00";
  }

  augment "/o-ran-delay-cpri:ru-delay-profile/o-ran-delay-cpri:ru-delay-profile-list-radio-related" {
    leaf ul-frame-offset {
      type int32;
      units "nanoseconds";
      description
        "ul frame offset of ru";
    }
  }

  augment "/o-ran-delay-cpri:ru-delay-config-data-flow-related/o-ran-delay-cpri:ul_cal_ru_list" {
    leaf ddc_delay_cfg {
      type uint32 {


[INF]: LN: Session 1: sending message:

#136


[INF]: LN: Session 1: sending message:
range "0 .. 4095 ";
      }
      units "nanoseconds";
      description
        "ul lead delay config";
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="94"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-delay-management-ru-cpri</identifier><version>2020-07-03</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-delay-management-ru-cpri" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="94"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-delay-management-ru-cpri {
  yang-version 1.1;
  namespace "urn:o-ran:delay-ru-cpri:1.0";
  prefix o-ran-delay-ru-cpri;

  import ietf-interfaces {
    prefix if;
  }

  import o-ran-interfaces-cpri {
    prefix o-ran-int-cpri;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module covers off aspects of O-DU to O-RU delay management,
     including config data related to O-RU transmission and reception
     windows.

     Copyright 2019 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Mem

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
bers of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.

     How to:
        Step1: DU get delay profile(ru-delay-profile) by means of rpc get-config
        Step2: DU get t14 from CPRI master(HUB or itself)
        Step3: DU cal the delay config
        Step4: DU config cpri link related paras(ru-delay-config-cpri-link-related) to RU,
               by means of rpc edit-config.
        Step5: DU config data flow delay config(ru-delay-config-data-flow-related) to RU,
               by means of rpc edit-config.

     ";

  revision 2020-07-03 {
    description
      "version 1.1.0

       1) create";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  typedef radio-technology {
    type enumeration {
      enum "COMMON" {
        description
          "COMMON radio types in this RU use the same ru-delay-profile-radio-related ";
      }
      enum "NR" {

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:

        description
          "NR is supported.";
      }
      enum "LTE" {
        description
          "LTE is supported.";
      }
      enum "NBIoT" {
        description
          "NBIoT is supported.";
      }
    }
    description
      "Radio technology, where COMMON means there is no delay difference between technologys.";
  }

  typedef bandwidth {
    type uint32 {
\n| 200000 | 400000";00 | 60000 | 70000 | 80000 | 90000 | 1000000 | 25000 |
    }
    units "kilohertz";
    description
      "transmission bandwidth configuration in units of kHz -
       covering NBIoT through to New Radio - see 38.104.
       Besides, bandwidth = 0 means bandwidth doesn't lead to difference here.
       ";
  }

  grouping delay-related-radio-feature {
    description
      "Delay related radio feature";
    leaf radio-technology {
      type radio-technology;
      description
        "radio technology name";
    }

    leaf

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
bandwidth {
      type bandwidth;
      description
        "transmission bandwidth configuration in units of kHz -
         covering NBIoT through to New Radio - see 38.104";
    }

    leaf subcarrier-spacing {
      type uint32 {
        range "0 .. 240000 ";
      }
      units "Hertz";
      description
        "subcarrier spacing in Hz.
         Normally, 15000 30000 60000 ... is used. Besides, 0 means it doesn't lead to difference";
    }
  }

  grouping ru-delay-profile-radio-related {
    description
      "Grouping for RRU delay profile which may be related to radio feature";
    leaf t2a {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "RRU Access Main DownLink Time Delay ";
    }

    leaf ta3 {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "RRU Access Main UpLink Time Delay ";
    }

    leaf t-cal-rru-dl-max {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    "RRU's maximum DL Delay compensation ";
    }

    leaf t-cal-rru-ul-max {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "RRU's maximum UL Delay compensation ";
    }
  }

  grouping ru-delay-profile-common {
    description
      "Grouping for RRU delay profile which is identical in the O-RU";
    leaf t-offset {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "CPRI delay from R2 to R3, ref to CPRI V7.0";
    }
  }

  grouping ru-delay-profile-cascade-related {
    description
      "Grouping for RRU delay profile which are related to cpri cascade";
    leaf tbdelay-dl {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "CPRI DL passthrough delay";
    }

    leaf tbdelay-ul {
      type uint32;
      units "nanoseconds";
      mandatory true;
      description
        "CPRI UL passthrough delay";
    }

    leaf N {
      type uint32;
      units "nanoseconds";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
mandatory true;
      description
        "CPRI delay para N, ref to CPRI V7.0";
    }
  }

  container ru-delay-profile {
    config false;
    description
      "RU delay profile";
    list ru-delay-profile-list-radio-related {
      key "radio-technology bandwidth subcarrier-spacing";
      config false;
      description
        "Delay paras related with radio feature,
         1) When radio-technology = COMMON, RU only have one set of radio related para defined.
         2) When radio-technology != COMMON, DU can get a list of para set,
            with key (radio-technology bandwidth subcarrier-spacing) for each.
         3) Detailed examples:
            case a: O-RU only have one set of delay paras,.
                    COMMON  0  0  t2a ta3 ...
            case b: LTE use one set of delay paras, NR use another set of paras.
                    LTE 0 0 ...
                    NR  0 0 ...
            case c: LTE NR use 2 set of delay paras...
                    LTE   5000 15000 ...


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
              LTE  10000 15000 ...
                    NR  100000 30000 ...
                    ...
            ...
            etc.
         ";
      uses delay-related-radio-feature;

      uses ru-delay-profile-radio-related;
    }

    uses ru-delay-profile-common;
  }

  container ru-delay-config-cpri-link-related {
    description
      "CPRI link related config";
    list CPRI-link-related-config {
      key "port-name";
      description
        "Array of structures containing sets of parameters for delay management.";
      leaf port-name {
        type leafref {
          path "/if:interfaces/if:interface/o-ran-int-cpri:cpri-interface/o-ran-int-cpri:port-reference/o-ran-int-cpri:port-number";
        }
        mandatory true;
        description
          "The delay configuration is performed on the primary fiber and the
           secondary/standby fiber";
      }

      leaf t12 {
        type uint32;
        units "nanoseconds";
        mandatory true;
        description
          "t12, f

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rom original CPRI master R1 to RU's R2";
      }

      leaf t34 {
        type uint32;
        units "nanoseconds";
        mandatory true;
        description
          "t34, from RU's R3 original CPRI master R4";
      }

      leaf TR1-offset {
        type int32;
        units "Tc";
        mandatory false;
        description
          "Offset of CPRI frame header to GPS time,unit is CPRI chip, 1/3.84MHz";
      }
    }
  }

  container ru-delay-config-data-flow-related {
    description
      "Data flow related config.
       Each data flow is described seperately, with accordance to the global IQ data flow management.
       DL, UL is described seperately, because DL and UL my use different eaxc-id.
       ";
    list dl_cal_ru_list {
      key "eaxc-id";
      description
        "Ru DL cal delay cfg";
      leaf eaxc-id {
        type uint16;
        mandatory true;
        description
          "eaxc-id, which represents data flow of 1 specific carrier antenna";
      }

      leaf t_cal_dl {


[INF]: LN: Session 1: sending message:

#887


[INF]: LN: Session 1: sending message:
      type uint32;
        units "nanoseconds";
        mandatory true;
        description
          "dl cal delay cfg, for data flow of 1 specific carrier antenna";
      }

      leaf DL-offset {
        type int32;
        units "Tc";
        mandatory true;
        description
          "Offset of IQ frame header to CPRI frame header,unit is CPRI chip, 1/3.84MHz";
      }
    }

    list ul_cal_ru_list {
      key "eaxc-id";
      description
        "Ru UL cal delay cfg";
      leaf eaxc-id {
        type uint16;
        mandatory true;
        description
          "eaxc-id, which represents data flow of 1 specific carrier antenna";
      }

      leaf t_cal_ul {
        type uint32;
        units "nanoseconds";
        mandatory true;
        description
          "ul cal delay cfg, for data flow of 1 specific carrier antenna";
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="95"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-performance-management</identifier><version>2023-03-13</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-performance-management" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="95"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-performance-management {
  yang-version 1.1;
  namespace "urn:o-ran:performance-management:1.0";
  prefix o-ran-pm;

  import ietf-yang-types {
    prefix yang-types;
    revision-date 2013-07-15;
  }

  import ietf-inet-types {
    prefix inet;
  }

  import o-ran-interfaces {
    prefix o-ran-int;
  }

  import o-ran-processing-element {
    prefix o-ran-elements;
  }

  import o-ran-file-management {
    prefix o-ran-fm;
  }

  import iana-hardware {
    prefix ianahw;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the configuration for performance measurement for
     transceiver and rx-window measurement objects.

     NOTE, whereas this YANG model may define support of schema nodes associated
     with O-RU measurements as optional, the CU-Plane specification may further
     sp

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ecify whether, according to a particular version of the CU plane
     specification, which specific measurements are mandatory to support
     from an O-RU perspective. In such a situation, the definition of mandatory
     performance counters in sub-section 7.1 of the CU-plane specification shall
     take precedence.

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT,

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2023-03-13 {
    description
      "version 3.0.0

       1) updated top level model descri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ption concerning optionality of measurements
       2) added new rx window counters
       3) added new TX stats measurements
       4) added new EPE measurements
       5) fixed typo in enumeration - TX_POPWER
       6) introduced config false data indicating which type of measurmeents are supported
       7) change a leafref node to string node";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2020-04-17 {
    description
      "version 3.0.0

       1) updated top level model description concerning optionality of measurements
       2) added new rx window counters
       3) added new TX stats measurements
       4) added new EPE measurements
       5) fixed typo in enumeration - TX_POPWER
       6) introduced config false data indicating which type of measurmeents are supported";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 2.0.0

       1) added new measurement objects for QSFP
       2) backward compatible ch

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
anges to correct sFTP Server Authentication.
       3) simplifying file management and authentication to reuse from o-ran-file-management module
       4) minor fixes according to lack of descriptions and reference
       5) added to descriptions to indicate applicability of leafs and Containers
       to separate O-RAN use cases
       6) backward compatible changes to introduce groupings.";
    reference
      "ORAN-WG4.M.0-v02.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature GRANULARITY-TRANSPORT-MEASUREMENT {
    description
      "This feature indicates that the O-RU supports an optional object-unit TRANSPORT in rx-window-measurement.";
  }

  feature GRANULARITY-EAXC-ID-MEASUREMENT {
    description
      "This feature indicates that the O-RU supports an optional object-unit EAXC_ID in rx-window-measurement.";
  }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:


  grouping start-and-end-time {
    description
      "Definition for start and end time for an event";
    leaf start-time {
      type yang-types:date-and-time;
      description
        "Start time for measurement of object stats";
    }

    leaf end-time {
      type yang-types:date-and-time;
      description
        "End time for measurement of object stats";
    }
  }

  grouping epe-measurement-result-grouping {
    description
      "energy, power and environmental measurement-result are listed for O-RU";
    list epe-measurement-result {
      key "object-unit-id";
      config false;
      leaf object-unit-id {
        type string;
        description
          "the hardware component type is used for the object-unit-id for the
           EPE measurements. For example, the object-unit-id will be set to
           or-hw:O-RAN-RADIO if the measurement applies to the complete O-RU
           self-contained sub-system.

           Other hardware-classes include: or-hw:O-RU-POWER-AMPL

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
IFIER,
           ianahw:power-supply, ianahw:fan, ianahw:cpu";
      }

      leaf min {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "minimum value for the measurment-object";
      }

      leaf max {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "maximum value for the measurment-object";
      }

      leaf average {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "average value of the measurement-object";
      }
    }
  }

  grouping transceiver-measurement-result-grouping {
    description
      "transceiver-measurement-result are listed per port-number";
    list transceiver-measurement-result {
      key "object-unit-id";
      config false;
      description
        "List of transceiver measurement results";
      leaf object-unit-id {
        type uint8;
        description
          "port-number is used for the object-unit-id for the
           transceive

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
r-measurement-result, for which object-unit is
           PORT_NUMBER only";
      }

      container min {
        description
          "minimum value with recorded time are included for the
           measurement-object";
        leaf value {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "minimum value for the measurment-object";
        }

        leaf time {
          type yang-types:date-and-time;
          description
            "recorded time for the minimum value";
        }
      }

      container max {
        description
          "maximum value with recorded time are included for the
           measurement-object";
        leaf value {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "maximum value for the measurment-object";
        }

        leaf time {
          type yang-types:date-and-time;
          description
            "recorded time for the maximum value";
        }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    }

      container first {
        description
          "first value with the recorded time are included for the
           measurement-object";
        leaf value {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "first value of the measurement-object";
        }

        leaf time {
          type yang-types:date-and-time;
          description
            "recorded time for the first value";
        }
      }

      container latest {
        description
          "latest value with the recorded time are included for the
           measurement-object";
        leaf value {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "latest value of the measurement-object";
        }

        leaf time {
          type yang-types:date-and-time;
          description
            "recorded time for the latest value";
        }
      }

      leaf-list frequeny-table {
        type uint32;
        descrip

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tion
          "frequency-table for the measurment-object are included per bin.
           The configuration parameters for this frequency-table are defined
           by bin-count, lower-bound and upper-bound";
      }
    }
  }

  grouping rx-window-measurement-result-grouping {
    description
      "Group of measurement reasults for rx window measurements";
    choice object-unit-id {
      config false;
      description
        "measurement-result for the reception window stats depends on the
         configured object-unit, RU, TRANSPORT or EAXC_ID";
      case RU {
        leaf name {
          type string;
          description
            "the name of O-RU module or one of its child ports
             in ietf-hardware/component is used when O-RU is selected as
             object-unit for the reception window stats.";
        }

        leaf count {
          type uint64;
          mandatory true;
          description
            "the number of data packet are counted for the reception


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       window stats per O-RU.";
        }
      }

      case TRANSPORT {
        list tr-measured-result {
          description
            "the number of data packet are counted for the reception
             window stats per TRANSPORT.";
          leaf name {
            type leafref {
              path "/o-ran-elements:processing-elements/o-ran-elements:ru-elements/o-ran-elements:name";
            }
            description
              "the name of ru-elements in o-ran-processing-elements
               when TRANSPORT is selected as object-unit for the reception
               window stats.";
          }

          leaf count {
            type uint64;
            mandatory true;
            description
              "the number of data packet are counted for the reception
               window stats.";
          }
        }
      }

      case EAXC_ID {
        list eaxc-measured-result {
          description
            "the number of data packet are counted for the reception
             wind

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ow stats per EAXC-ID.";
          leaf eaxc-id {
            type uint16;
            description
              "eaxc-id is used
               when EAXC_ID is selected as object-unit for the reception
               window stats.
               EAXC_ID consists of DU-Port-Id, Band-Selector, CC-id and
               RU-Port-Id to be used in header of C/U-plane data packet.";
          }

          leaf count {
            type uint64;
            mandatory true;
            description
              "the number of data packet are counted for the reception
               window stats.";
          }

          leaf transport-name {
            type leafref {
              path "/o-ran-elements:processing-elements/o-ran-elements:ru-elements/o-ran-elements:name";
            }
            description
              "the name of ru-elements in o-ran-processing-elements for the
               transport information corresponding to this eaxc-id";
          }
        }
      }
    }
  }

  grouping tx-measuremen

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t-result-grouping {
    description
      "Group of measurement reasults for tx stats";
    choice object-unit-id {
      config false;
      description
        "measurement-result for the tx stats depends on the
         configured object-unit, RU, TRANSPORT or EAXC_ID";
      case RU {
        leaf name {
          type string;
          description
            "the name of O-RU module or one of its child ports
             in ietf-hardware/component is used when O-RU is selected as
             object-unit for the reception window stats.";
        }

        leaf count {
          type uint64;
          mandatory true;
          description
            "the number of data packet are counted for the tx stats per O-RU.";
        }
      }

      case TRANSPORT {
        list tr-measured-result {
          description
            "the number of data packet are counted for the tx stats per TRANSPORT.";
          leaf name {
            type leafref {
              path "/o-ran-elements:processing-elements/

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
o-ran-elements:ru-elements/o-ran-elements:name";
            }
            description
              "the name of ru-elements in o-ran-processing-elements
               when TRANSPORT is selected as object-unit for the tx stats.";
          }

          leaf count {
            type uint64;
            mandatory true;
            description
              "the number of data packet are counted for the tx stats.";
          }
        }
      }

      case EAXC_ID {
        list eaxc-measured-result {
          description
            "the number of data packet are counted for the tx stats per EAXC-ID.";
          leaf eaxc-id {
            type uint16;
            description
              "eaxc-id is used
               when EAXC_ID is selected as object-unit for the tx stats.
               EAXC_ID consists of DU-Port-Id, Band-Selector, CC-id and
               RU-Port-Id to be used in header of C/U-plane data packet.";
          }

          leaf count {
            type uint64;
            mandatory t

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rue;
            description
              "the number of data packet are counted for the tx stats.";
          }

          leaf transport-name {
            type leafref {
              path "/o-ran-elements:processing-elements/o-ran-elements:ru-elements/o-ran-elements:name";
            }
            description
              "the name of ru-elements in o-ran-processing-elements for the
               transport information corresponding to this eaxc-id";
          }
        }
      }
    }
  }

  grouping measurement-group {
    description
      "Group of measurement results";
    uses measurement-capabilities;

    leaf enable-SFTP-upload {
      type boolean;
      default "false";
      description
        "Flag to enable upload of performance measurement result files.";
    }

    leaf enable-random-file-upload {
      type boolean;
      default "false";
      description
        "Flag to enable upload of performance measurement result files at
         random within file-upload-interval.";
    }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    list remote-SFTP-uploads {
      key "remote-SFTP-upload-path";
      description
        "SFTP upload can be done to one or more than one SFTP servers";
      leaf remote-SFTP-upload-path {
        type inet:uri;
        description
          "URI specifying the remote location where the files are to uploaded.
           The following format is possible:
           sftp://&lt;username&gt;@&lt;host&gt;[:&lt;port&gt;]/path";
      }

      uses o-ran-fm:credential-information;
    }

    leaf transceiver-measurement-interval {
      type uint16;
      units "seconds";
      description
        "measurement interval to measure the performance of transceiver
         measurement objects periodically.";
    }

    leaf epe-measurement-interval {
      type uint16;
      units "seconds";
      description
        "measurement interval to measure the energy, power and environmental
         measurement objects periodically.";
    }

    leaf rx-window-measurement-interval {
      type uint16;
      units "s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
econds";
      description
        "measurement interval to measure the performance of reception
         window measurement objects periodically.";
    }

    leaf tx-measurement-interval {
      type uint16;
      units "seconds";
      description
        "measurement interval to measure the tx (outbound)
         window measurement objects periodically.";
    }

    leaf notification-interval {
      type uint16;
      units "seconds";
      description
        "notification interval for the measurement result to be notified
         periodically.";
    }

    leaf file-upload-interval {
      type uint16;
      units "seconds";
      description
        "file upload interval for the measurement result file to be
         uploaded periodically.";
    }

    leaf max-bin-count {
      type uint16;
      config false;
      mandatory true;
      description
        "indicates the maximum value of configurable bin-count for frequency
         table in transceiver-measurement-objects as one of module


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       capabilities.";
    }

    list transceiver-measurement-objects {
      key "measurement-object";
      description
        "optional list used to report transceiver measurements
         applicable to any O-RAN defined hardware function";
      leaf measurement-object {
        type enumeration {
          enum "RX_POWER" {
            description
              "Measured Rx input power in mW for SFP or lane 1 of QSFP";
          }
          enum "RX_POWER_LANE_2" {
            description
              "Measured Rx input power in mW for lane 2 of QSFP";
          }
          enum "RX_POWER_LANE_3" {
            description
              "Measured Rx input power in mW for lane 3 of QSFP";
          }
          enum "RX_POWER_LANE_4" {
            description
              "Measured Rx input power in mW for lane 4 of QSFP";
          }
          enum "TX_POPWER" {
            status deprecated;
            description
              "Measured Tx input power in mW.";
          }
          enum "TX_POWER"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 {
            description
              "Measured Tx input power in mW.";
          }
          enum "TX_POWER_LANE_2" {
            description
              "Measured Tx input power in mW for lane 2 of QSFP";
          }
          enum "TX_POWER_LANE_3" {
            description
              "Measured Tx input power in mW for lane 3 of QSFP";
          }
          enum "TX_POWER_LANE_4" {
            description
              "Measured Tx input power in mW for lane 4 of QSFP";
          }
          enum "TX_BIAS_COUNT" {
            description
              "Internally measured Tx Bias Current in mA for SFP or lane 1 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_2" {
            description
              "Internally measured Tx Bias Current in mA for lane 2 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_3" {
            description
              "Internally measured Tx Bias Current in mA for lane 3 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_4" {
            description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
              "Internally measured Tx Bias Current in mA for lane 4 of QSFP";
          }
          enum "VOLTAGE" {
            description
              "Internally measured transceiver supply voltage in mV";
          }
          enum "TEMPERATURE" {
            description
              "Internally measured optional laser temperature in degrees Celsius.";
          }
        }
        description
          "Target metric to measure the performance";
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the performance measurement per Object";
      }

      leaf-list report-info {
        type enumeration {
          enum "MAXIMUM" {
            description
              "to report maximum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "MINIMUM" {
            description
              "to report minimum value and its recorded time within the


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    measurement-interval for the measurement-object.";
          }
          enum "FIRST" {
            description
              "to report first value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "LATEST" {
            description
              "to report latest value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "FREQUENCY_TABLE" {
            description
              "to report frequency bin table within the
               measurement-interval for the measurement-object.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      leaf object-unit {
        type enumeration {
          enum "PORT_NUMBER" {
            description
              "unit to measure the performance per object-id";
          }
        }
        mandatory true;
        description
          "unit to measure the

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
performance per object-id.";
      }

      leaf function {
        type enumeration {
          enum "RAW" {
            description
              "the value is expressed by real value.";
          }
          enum "LOG_10" {
            description
              "the value is expressed by logarithm with base 10.";
          }
        }
        description
          "the value to be recorded for transceiver-measurement
           by real value or log 10.";
      }

      leaf bin-count {
        type uint16;
        description
          "the number of bin for the frequency table.
           This value shall be less than max-bin-count";
      }

      leaf lower-bound {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "the lower value of the first bin of frequency table.";
      }

      leaf upper-bound {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "the upper value of the last bin of frequency table.";
      }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      uses transceiver-measurement-result-grouping;
    }

    list rx-window-measurement-objects {
      key "measurement-object";
      description
        "optional list used to report RX Window measurements
         applicable to O-RAN WG4 define O-RU functions";
      leaf measurement-object {
        type enumeration {
          enum "RX_ON_TIME" {
            description
              "the number of data packets, received on time within
               the reception window.";
          }
          enum "RX_EARLY" {
            description
              "the number of data packets, received before
               the reception window.";
          }
          enum "RX_LATE" {
            description
              "the number of data packets, received after
               the reception window.";
          }
          enum "RX_CORRUPT" {
            description
              "the number of data packets, which are corrupt or whose header
               is incorrect.";
          }
          enum "RX_DUPL"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 {
            status deprecated;
            description
              "the number of data packets, which is duplicated with other packets,
               received within the measurement period.";
          }
          enum "RX_TOTAL" {
            description
              "the total number of received packets (data and control) within the measurement period.";
          }
          enum "RX_ON_TIME_C" {
            description
              "the number of control packets, received on time within
               the reception window.";
          }
          enum "RX_EARLY_C" {
            description
              "the number of control packets, received before
               the reception window.";
          }
          enum "RX_LATE_C" {
            description
              "the number of control packets, received after
               the reception window.";
          }
          enum "RX_SEQID_ERR" {
            description
              "the number of data packets, received with an erroneous sequenc

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e ID.";
          }
          enum "RX_SEQID_ERR_C" {
            description
              "the number of control packets, received with an erroneous sequence ID.";
          }
          enum "RX_ERR_DROP" {
            description
              "The total number of inbound messages which are discarded by the receiving
               O-RAN entity for any reason.";
          }
        }
        description
          "target reception window metric to measure the performance.";
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the performance measurement per reception window
           measurement object.";
      }

      leaf object-unit {
        type enumeration {
          enum "RU" {
            description
              "the reception window stats are counted per hardware component.
               This may be the parent 'module' or child 'port' component.";
          }
          enum "TRANSPORT" {
            if-feature "GRANULARI

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
TY-TRANSPORT-MEASUREMENT";
            description
              "the reception window stats are counted per transport flow.
               When there are multiple transport flows between O-DU and O-RU,
               e.g. multiple sets of o-du mac address, ru mac address and
                    vlan-id, the reception window stats per transport flow
                    are counted in this case.
               This configuration is allowed only when O-RU supports
               a feature GRANULARITY-TRANSPORT-MEASUREMENT.";
          }
          enum "EAXC_ID" {
            if-feature "GRANULARITY-EAXC-ID-MEASUREMENT";
            description
              "the reception window stats are counted per eAxC ID, which is
               used in the header of receivd data packet.
               This configuration is allowed only when O-RU supports
               a feature GRANULARITY-EAXC-ID-MEASUREMENT.";
          }
        }
        description
          "unit to measure the performance per object-id.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      }

      leaf report-info {
        type enumeration {
          enum "COUNT" {
            description
              "the number of data packet are counted for the reception
               window stats.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      uses rx-window-measurement-result-grouping;
    }

    list tx-measurement-objects {
      key "measurement-object";
      description
        "optional list used to report TX measurements
         applicable to O-RAN WG4 define O-RU functions";
      leaf measurement-object {
        type enumeration {
          enum "TX_TOTAL" {
            description
              "the number of outbound packets (data and control), transmitted within
               the measurement period";
          }
          enum "TX_TOTAL_C" {
            description
              "the number of outbound control packets, transmitted within
               the measurement period.
               This counter is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 required only if RU supports LAA/LBT capabilities.";
          }
        }
        description
          "CU-plane transmission counters";
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the measurement per measurement object.";
      }

      leaf object-unit {
        type enumeration {
          enum "RU" {
            description
              "the transmission stats are counted per hardware component.
               This may be the parent 'module' or child 'port' component.";
          }
          enum "TRANSPORT" {
            if-feature "GRANULARITY-TRANSPORT-MEASUREMENT";
            description
              "the transmission stats are counted per transport flow.
               When there are multiple transport flows between O-DU and O-RU,
               e.g. multiple sets of o-du mac address, ru mac address and
                    vlan-id, the transmission stats per transport flow
                    are counted in this

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
case.
               This configuration is allowed only when O-RU supports
               a feature GRANULARITY-TRANSPORT-MEASUREMENT.";
          }
          enum "EAXC_ID" {
            if-feature "GRANULARITY-EAXC-ID-MEASUREMENT";
            description
              "the transmission stats are counted per eAxC ID, which is
               used in the header of receivd data packet.
               This configuration is allowed only when O-RU supports
               a feature GRANULARITY-EAXC-ID-MEASUREMENT.";
          }
        }
        description
          "unit to measure the performance per object-id.";
      }

      leaf report-info {
        type enumeration {
          enum "COUNT" {
            description
              "the number of data packet are counted for the reception
               window stats.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      uses tx-measurement-result-grouping;
    }

    list epe-measurement-ob

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
jects {
      key "measurement-object";
      description
        "optional list used to report energy, power and environmental
         measurements applicable to any O-RAN defined hardware function";
      leaf measurement-object {
        type enumeration {
          enum "TEMPERATURE" {
            description
              "Measured temperature in degrees celcius";
          }
          enum "POWER" {
            description
              "Measured power consumed, in watts (W)";
          }
        }
        description
          "Target metric to measure the performance";
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the performance measurement per Object";
      }

      leaf-list report-info {
        type enumeration {
          enum "MAXIMUM" {
            description
              "to report maximum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   enum "MINIMUM" {
            description
              "to report minimum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "AVERAGE" {
            description
              "to report average value within the
               measurement-interval for the measurement-object.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      uses epe-measurement-result-grouping;
    }
  }

  grouping measurement-capabilities {
    container measurement-capabilitites {
      config false;
      description
        "the type of measurement objects supported by the O-RU";
      list transceiver-objects {
        key "measurement-object";
        leaf measurement-object {
          type enumeration {
            enum "RX_POWER" {
              description
                "Measured Rx input power in mW for SFP or lane 1 of QSFP";
            }
            enum "RX_POWER_LANE_2" {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
             description
                "Measured Rx input power in mW for lane 2 of QSFP";
            }
            enum "RX_POWER_LANE_3" {
              description
                "Measured Rx input power in mW for lane 3 of QSFP";
            }
            enum "RX_POWER_LANE_4" {
              description
                "Measured Rx input power in mW for lane 4 of QSFP";
            }
            enum "TX_POPWER" {
              status deprecated;
              description
                "Measured Tx input power in mW.";
            }
            enum "TX_POWER" {
              description
                "Measured Tx input power in mW.";
            }
            enum "TX_POWER_LANE_2" {
              description
                "Measured Tx input power in mW for lane 2 of QSFP";
            }
            enum "TX_POWER_LANE_3" {
              description
                "Measured Tx input power in mW for lane 3 of QSFP";
            }
            enum "TX_POWER_LANE_4" {
              description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
                "Measured Tx input power in mW for lane 4 of QSFP";
            }
            enum "TX_BIAS_COUNT" {
              description
                "Internally measured Tx Bias Current in mA for SFP or lane 1 of QSFP";
            }
            enum "TX_BIAS_COUNT_LANE_2" {
              description
                "Internally measured Tx Bias Current in mA for lane 2 of QSFP";
            }
            enum "TX_BIAS_COUNT_LANE_3" {
              description
                "Internally measured Tx Bias Current in mA for lane 3 of QSFP";
            }
            enum "TX_BIAS_COUNT_LANE_4" {
              description
                "Internally measured Tx Bias Current in mA for lane 4 of QSFP";
            }
            enum "VOLTAGE" {
              description
                "Internally measured transceiver supply voltage in mV";
            }
            enum "TEMPERATURE" {
              description
                "Internally measured optional laser temperature in degrees Celsius.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    }
          }
          description
            "Target metric to measure the performance";
        }
      }

      list rx-window-objects {
        key "measurement-object";
        leaf measurement-object {
          type enumeration {
            enum "RX_ON_TIME" {
              description
                "the number of data packets, received on time within
                 the reception window.";
            }
            enum "RX_EARLY" {
              description
                "the number of data packets, received before
                 the reception window.";
            }
            enum "RX_LATE" {
              description
                "the number of data packets, received after
                 the reception window.";
            }
            enum "RX_CORRUPT" {
              description
                "the number of data packets, which are corrupt or whose header
                 is incorrect.";
            }
            enum "RX_DUPL" {
              status deprecated;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       description
                "the number of data packets, which is duplicated with other packets,
                 received within the measurement period.";
            }
            enum "RX_TOTAL" {
              description
                "the total number of received packets (data and control) within the measurement period.";
            }
            enum "RX_ON_TIME_C" {
              description
                "the number of control packets, received on time within
                 the reception window.";
            }
            enum "RX_EARLY_C" {
              description
                "the number of control packets, received before
                 the reception window.";
            }
            enum "RX_LATE_C" {
              description
                "the number of control packets, received after
                 the reception window.";
            }
            enum "RX_SEQID_ERR" {
              description
                "the number of data packets, received with an errone

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ous sequence ID.";
            }
            enum "RX_SEQID_ERR_C" {
              description
                "the number of control packets, received with an erroneous sequence ID.";
            }
            enum "RX_ERR_DROP" {
              description
                "The total number of inbound messages which are discarded by the receiving
                 O-RAN entity for any reason.";
            }
          }
          description
            "target reception window metric to measure the performance.";
        }
      }

      list tx-stats-objects {
        key "measurement-object";
        leaf measurement-object {
          type enumeration {
            enum "TX_TOTAL" {
              description
                "the number of outbound packets (data and control), transmitted within
                 the measurement period";
            }
            enum "TX_TOTAL_C" {
              description
                "the number of outbound control packets, transmitted within
                 the me

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
asurement period.
                 This counter is required only if RU supports LAA/LBT capabilities.";
            }
          }
          description
            "CU-plane transmission counters";
        }
      }

      list epe-stats-objects {
        key "measurement-object";
        description
          "An optional list describing the energy, power and environmental measurements supported
           by the O-RU. Measurements are defined per hardware component.";
        leaf measurement-object {
          type enumeration {
            enum "TEMPERATURE" {
              description
                "Measured temperature in degrees celcius";
            }
            enum "POWER" {
              description
                "Measured power consumed, in watts (W)";
            }
          }
          description
            "Target metric to measure the performance";
        }

        leaf-list component-class {
          type identityref {
            base ianahw:hardware-class;
          }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
description
            "An indication of the general hardware type of the
             component for which EPE measurements are supported.";
        }
      }
    }
  }

  grouping measurement-notification {
    description
      "notification may contain measurement result for transceiver-stats
       and/or rx-window-stats";
    list transceiver-stats {
      key "measurement-object";
      description
        "measurement result of transceiver-measurement per measurement-object";
      leaf measurement-object {
        type enumeration {
          enum "RX_POWER" {
            description
              "Measured Rx input power in mW for SFP or lane 1 of QSFP";
          }
          enum "RX_POWER_LANE_2" {
            description
              "Measured Rx input power in mW for lane 2 of QSFP";
          }
          enum "RX_POWER_LANE_3" {
            description
              "Measured Rx input power in mW for lane 3 of QSFP";
          }
          enum "RX_POWER_LANE_4" {
            description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          "Measured Rx input power in mW for lane 4 of QSFP";
          }
          enum "TX_POPWER" {
            status deprecated;
            description
              "Measured Tx input power in mW.";
          }
          enum "TX_POWER" {
            description
              "Measured Tx input power in mW.";
          }
          enum "TX_POWER_LANE_2" {
            description
              "Measured Tx input power in mW for lane 2 of QSFP";
          }
          enum "TX_POWER_LANE_3" {
            description
              "Measured Tx input power in mW for lane 3 of QSFP";
          }
          enum "TX_POWER_LANE_4" {
            description
              "Measured Tx input power in mW for lane 4 of QSFP";
          }
          enum "TX_BIAS_COUNT" {
            description
              "Internally measured Tx Bias Current in mA for SFP or lane 1 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_2" {
            description
              "Internally measured Tx Bias Current in mA for lane

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 2 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_3" {
            description
              "Internally measured Tx Bias Current in mA for lane 3 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_4" {
            description
              "Internally measured Tx Bias Current in mA for lane 4 of QSFP";
          }
          enum "VOLTAGE" {
            description
              "Internally measured transceiver supply voltage in mV";
          }
          enum "TEMPERATURE" {
            description
              "Internally measured optional laser temperature in degrees Celsius.";
          }
        }
        description
          "Target metric to measure the performance";
      }

      uses start-and-end-time;

      uses transceiver-measurement-result-grouping;
    }

    list rx-window-stats {
      key "measurement-object";
      description
        "measurement result for the reception window measurement per
         measurement-object";
      leaf measurement-object {
        type e

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
numeration {
          enum "RX_ON_TIME" {
            description
              "the number of data packets, received on time within
               the reception window.";
          }
          enum "RX_EARLY" {
            description
              "the number of data packets, received before
               the reception window.";
          }
          enum "RX_LATE" {
            description
              "the number of data packets, received after
               the reception window.";
          }
          enum "RX_CORRUPT" {
            description
              "the number of data packets, which are corrupt or whose header
               is incorrect.";
          }
          enum "RX_DUPL" {
            status deprecated;
            description
              "the number of data packets, which is duplicated with other packets,
               received within the measurement period.";
          }
          enum "RX_TOTAL" {
            description
              "the total number of received packets

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
(data and control) within the measurement period.";
          }
          enum "RX_ON_TIME_C" {
            description
              "the number of control packets, received on time within
               the reception window.";
          }
          enum "RX_EARLY_C" {
            description
              "the number of control packets, received before
               the reception window.";
          }
          enum "RX_LATE_C" {
            description
              "the number of control packets, received after
               the reception window.";
          }
          enum "RX_SEQID_ERR" {
            description
              "the number of data packets, received with an erroneous sequence ID.";
          }
          enum "RX_SEQID_ERR_C" {
            description
              "the number of control packets, received with an erroneous sequence ID.";
          }
          enum "RX_ERR_DROP" {
            description
              "The total number of inbound messages which are discarded by the rec

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eiving
               O-RAN entity for any reason.";
          }
        }
        description
          "target reception window metric to measure the performance.";
      }

      uses start-and-end-time;

      uses rx-window-measurement-result-grouping;
    }

    list tx-stats {
      key "measurement-object";
      description
        "measurement result for the tx stats measurement per
         measurement-object";
      leaf measurement-object {
        type enumeration {
          enum "TX_TOTAL" {
            description
              "the number of outbound packets (data and control), transmitted within
               the measurement period";
          }
          enum "TX_TOTAL_C" {
            description
              "the number of outbound control packets, transmitted within
               the measurement period.
               This counter is required only if RU supports LAA/LBT capabilities.";
          }
        }
        description
          "CU-plane transmission counters";
      }


[INF]: LN: Session 1: sending message:

#679


[INF]: LN: Session 1: sending message:

      uses start-and-end-time;

      uses tx-measurement-result-grouping;
    }

    container epe-stats {
      description
        "container for the epe stats measurement";
      uses start-and-end-time;

      uses epe-measurement-result-grouping;
    }
  }

  container performance-measurement-objects {
    description
      "configuration for performance management and measurement-result are
       included";
    uses measurement-group;
  }

  notification measurement-result-stats {
    description
      "Notification may contain measurement results for transceiver-stats
       and/or rx-window-stats";
    uses measurement-notification;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 1 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="96"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>nts-oran-extern-interface</identifier><version>2023-03-09</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "nts-oran-extern-interface" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="96"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module nts-oran-extern-interface {
  yang-version 1.1;
  namespace "urn:nts:nts-oran-extern-interface:1.0";
  prefix nts-oran-ei;

  organization
    "NTS";

  revision 2023-03-09 {
    description
      "version 1.0.1";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  grouping call-interface {
    leaf funcation {
      type string;
      description
        "The name of the interface to call.";
    }

    list paramentlist {
      leaf parament {
        type string;
        description
          "Interface parameters list.";
      }
    }
  }

  grouping get-result {
    container result {
      leaf funcation {
        type string;
      }

      leaf result_status {
        type enumeration {
          enum "SUCCESS" {
            description
              "Operation has been started without error.";
          }
          enum "FAILED" {
            description


[INF]: LN: Session 1: sending message:

#418


[INF]: LN: Session 1: sending message:
           "Operation cannot be started because of error, more detailed information can be found in error-message.";
          }
        }
      }

      leaf result_value {
        type string;
      }
    }
  }

  rpc extern-interface {
    description
      "Common interface for external extension.";
    input {
      uses call-interface;
    }

    output {
      uses get-result;
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="97"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>nts-performance-management-extension</identifier><version>2023-04-14</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "nts-performance-management-extension" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="97"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module nts-performance-management-extension {
  yang-version 1.1;
  namespace "urn:nts:yang:nts-performance-management-extension";
  prefix nts-performance-management-extension;

  import o-ran-performance-management {
    prefix o-ran-per-man;
  }

  import iana-hardware {
    prefix ianahw;
  }

  import ietf-hardware {
    prefix hw;
  }

  import ietf-yang-types {
    prefix yang-types;
    revision-date 2013-07-15;
  }

  organization
    "NTS";

  revision 2023-04-14 {
    description
      "add performance measurement item ";
    reference
      "ORAN-WG4.M.0-v03.00";
  }

  augment "/o-ran-per-man:performance-measurement-objects/o-ran-per-man:measurement-capabilitites" {
    list rssi-stats-objects {
      key "measurement-object";
      description
        "An optional list describing the energy, power and environmental measurements supported
         by the O-R

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
U. Measurements are defined per hardware component.";
      leaf measurement-object {
        type leafref {
          path "/o-ran-per-man:performance-measurement-objects/rssi-measurement-objects/measurement-object";
        }
      }

      leaf-list component-class {
        type identityref {
          base ianahw:hardware-class;
        }
        description
          "An indication of the general hardware type of the
           component for which RSSI measurements are supported.";
      }
    }

    list basepow-stats-objects {
      key "measurement-object";
      description
        "An optional list describing the energy, power and environmental measurements supported
         by the O-RU. Measurements are defined per hardware component.";
      leaf measurement-object {
        type leafref {
          path "/o-ran-per-man:performance-measurement-objects/basepow-measurement-objects/measurement-object";
        }
      }

      leaf-list component-class {
        type identityref {
          base ia

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
nahw:hardware-class;
        }
        description
          "An indication of the general hardware type of the
           component for which BASEPOW measurements are supported.";
      }
    }

    list opd-stats-objects {
      key "measurement-object";
      description
        "An optional list describing the energy, power and environmental measurements supported
         by the O-RU. Measurements are defined per hardware component.";
      leaf measurement-object {
        type leafref {
          path "/o-ran-per-man:performance-measurement-objects/opd-measurement-objects/measurement-object";
        }
      }

      leaf-list component-class {
        type identityref {
          base ianahw:hardware-class;
        }
        description
          "An indication of the general hardware type of the
           component for which OPD measurements are supported.";
      }
    }
  }

  augment "/o-ran-per-man:performance-measurement-objects" {
    leaf basepow-measurement-interval {
      type uint16;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  units "seconds";
      description
        "measurement interval to measure the energy, power and environmental
         measurement objects periodically.";
    }

    list basepow-measurement-objects {
      key "measurement-object";
      description
        "optional list used to report BASEPOW ";
      leaf measurement-object {
        type enumeration {
          enum "BASEPOW";
        }
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the performance measurement per Object";
      }

      leaf-list report-info {
        type enumeration {
          enum "MAXIMUM" {
            description
              "to report maximum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "MINIMUM" {
            description
              "to report minimum value and its recorded time within the
               measurement-interval for the measurement-object.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    }
          enum "AVERAGE" {
            description
              "to report average value within the
               measurement-interval for the measurement-object.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      list basepow-measurement-result {
        key "object-unit-id";
        config false;
        leaf object-unit-id {
          type string;
          default "o-ran";
          description
            "the hardware component type is used for the object-unit-id for the
                  BASEPOW measurements. For example, the object-unit-id will be set to
                  tor-hw:O-RAN-RADIO if the measurement applies to the complete O-RU
                  tself-contained sub-system.

                  Other hardware-classes include: or-hw:O-RU-POWER-AMPLIFIER,
                  ianahw:power-supply, ianahw:fan, ianahw:cpu";
        }

        leaf min {
          type decimal64 {
            fraction-digits 4;
          }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    description
            "minimum value for the measurment-object";
        }

        leaf max {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "maximum value for the measurment-object";
        }

        leaf average {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "average value of the measurement-object";
        }
      }
    }

    leaf rssi-measurement-interval {
      type uint16;
      units "seconds";
      description
        "measurement interval to measure the energy, power and environmental
         measurement objects periodically.";
    }

    list rssi-measurement-objects {
      key "measurement-object";
      description
        "optional list used to report RSSI ";
      leaf measurement-object {
        type enumeration {
          enum "RSSI";
        }
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disabl

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e the performance measurement per Object";
      }

      leaf-list report-info {
        type enumeration {
          enum "MAXIMUM" {
            description
              "to report maximum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "MINIMUM" {
            description
              "to report minimum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "AVERAGE" {
            description
              "to report average value within the
               measurement-interval for the measurement-object.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      list rssi-measurement-result {
        key "object-unit-id";
        config false;
        leaf object-unit-id {
          type string;
          default "o-ran";
          description
            "the hardware component type is u

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
sed for the object-unit-id for the
                  \tRSSI measurements. For example, the object-unit-id will be set to
                  \tor-hw:O-RAN-RADIO if the measurement applies to the complete O-RU
                  \tself-contained sub-system.

                  Other hardware-classes include: or-hw:O-RU-POWER-AMPLIFIER,
                  ianahw:power-supply, ianahw:fan, ianahw:cpu";
        }

        leaf min {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "minimum value for the measurment-object";
        }

        leaf max {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "maximum value for the measurment-object";
        }

        leaf average {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "average value of the measurement-object";
        }
      }
    }

    leaf opd-measurement-interval {
      type uint16;
      units

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
"seconds";
      description
        "measurement interval to measure the energy, power and environmental
         measurement objects periodically.";
    }

    list opd-measurement-objects {
      key "measurement-object";
      description
        "optional list used to report OPD ";
      leaf measurement-object {
        type enumeration {
          enum "OPD";
        }
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the performance measurement per Object";
      }

      leaf-list report-info {
        type enumeration {
          enum "MAXIMUM" {
            description
              "to report maximum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "MINIMUM" {
            description
              "to report minimum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "AVERAGE" {
            description
              "to report average value within the
               measurement-interval for the measurement-object.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      list opd-measurement-result {
        key "object-unit-id";
        config false;
        leaf object-unit-id {
          type string;
          default "o-ran";
          description
            "the hardware component type is used for the object-unit-id for the
                  \tRSSI measurements. For example, the object-unit-id will be set to
                  \tor-hw:O-RAN-RADIO if the measurement applies to the complete O-RU
                  \tself-contained sub-system.

                  Other hardware-classes include: or-hw:O-RU-POWER-AMPLIFIER,
                  ianahw:power-supply, ianahw:fan, ianahw:cpu";
        }

        leaf min {
          type decimal64 {
            fraction-digits 4;
          }
          description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
     "minimum value for the measurment-object";
        }

        leaf max {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "maximum value for the measurment-object";
        }

        leaf average {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "average value of the measurement-object";
        }
      }
    }
  }

  augment "/o-ran-per-man:measurement-result-stats" {
    container basepow-stats {
      description
        "container for the basepow stats measurement";
      leaf start-time {
        type yang-types:date-and-time;
        description
          "Start time for measurement of object stats";
      }

      leaf end-time {
        type yang-types:date-and-time;
        description
          "End time for measurement of object stats";
      }

      list basepow-measurement-result {
        key "object-unit-id";
        leaf object-unit-id {
          type string;
          default

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 "o-ran";
          description
            "the hardware component type is used for the object-unit-id for the
              BASEPOW measurements. For example, the object-unit-id will be set to
              or-hw:O-RAN-RADIO if the measurement applies to the complete O-RU
              self-contained sub-system.

             Other hardware-classes include: or-hw:O-RU-POWER-AMPLIFIER,
             ianahw:power-supply, ianahw:fan, ianahw:cpu";
        }

        leaf min {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "minimum value for the measurment-object";
        }

        leaf max {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "maximum value for the measurment-object";
        }

        leaf average {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "average value of the measurement-object";
        }
      }
    }

    container r

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ssi-stats {
      description
        "container for the rssi stats measurement";
      leaf start-time {
        type yang-types:date-and-time;
        description
          "Start time for measurement of object stats";
      }

      leaf end-time {
        type yang-types:date-and-time;
        description
          "End time for measurement of object stats";
      }

      list rssi-measurement-result {
        key "object-unit-id";
        leaf object-unit-id {
          type string;
          default "o-ran";
          description
            "the hardware component type is used for the object-unit-id for the
              RSSI measurements. For example, the object-unit-id will be set to
              or-hw:O-RAN-RADIO if the measurement applies to the complete O-RU
              self-contained sub-system.

             Other hardware-classes include: or-hw:O-RU-POWER-AMPLIFIER,
             ianahw:power-supply, ianahw:fan, ianahw:cpu";
        }

        leaf min {
          type decimal64 {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
  fraction-digits 4;
          }
          description
            "minimum value for the measurment-object";
        }

        leaf max {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "maximum value for the measurment-object";
        }

        leaf average {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "average value of the measurement-object";
        }
      }
    }

    container opd-stats {
      description
        "container for the opd stats measurement";
      leaf start-time {
        type yang-types:date-and-time;
        description
          "Start time for measurement of object stats";
      }

      leaf end-time {
        type yang-types:date-and-time;
        description
          "End time for measurement of object stats";
      }

      list opd-measurement-result {
        key "object-unit-id";
        leaf object-unit-id {
          type string;
          default "o-ran"

[INF]: LN: Session 1: sending message:

#1021


[INF]: LN: Session 1: sending message:
;
          description
            "the hardware component type is used for the object-unit-id for the
              OPD measurements. For example, the object-unit-id will be set to
              or-hw:O-RAN-RADIO if the measurement applies to the complete O-RU
              self-contained sub-system.

             Other hardware-classes include: or-hw:O-RU-POWER-AMPLIFIER,
             ianahw:power-supply, ianahw:fan, ianahw:cpu";
        }

        leaf min {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "minimum value for the measurment-object";
        }

        leaf max {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "maximum value for the measurment-object";
        }

        leaf average {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "average value of the measurement-object";
        }
      }
    }
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
[INF]: LN: Session 1: received message:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="98"><get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"><identifier>o-ran-performance-management</identifier><version>2023-03-13</version><format>yang</format></get-schema></rpc>

[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "o-ran-performance-management" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="98"><data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module o-ran-performance-management {
  yang-version 1.1;
  namespace "urn:o-ran:performance-management:1.0";
  prefix o-ran-pm;

  import ietf-yang-types {
    prefix yang-types;
    revision-date 2013-07-15;
  }

  import ietf-inet-types {
    prefix inet;
  }

  import o-ran-interfaces {
    prefix o-ran-int;
  }

  import o-ran-processing-element {
    prefix o-ran-elements;
  }

  import o-ran-file-management {
    prefix o-ran-fm;
  }

  import iana-hardware {
    prefix ianahw;
  }

  organization
    "O-RAN Alliance";
  contact
    "www.o-ran.org";
  description
    "This module defines the configuration for performance measurement for
     transceiver and rx-window measurement objects.

     NOTE, whereas this YANG model may define support of schema nodes associated
     with O-RU measurements as optional, the CU-Plane specification may further
     sp

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ecify whether, according to a particular version of the CU plane
     specification, which specific measurements are mandatory to support
     from an O-RU perspective. In such a situation, the definition of mandatory
     performance counters in sub-section 7.1 of the CU-plane specification shall
     take precedence.

     Copyright 2020 the O-RAN Alliance.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT,

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.

     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the above disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
     this list of conditions and the above disclaimer in the documentation
     and/or other materials provided with the distribution.
     * Neither the Members of the O-RAN Alliance nor the names of its
     contributors may be used to endorse or promote products derived from
     this software without specific prior written permission.";

  revision 2023-03-13 {
    description
      "version 3.0.0

       1) updated top level model descri

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ption concerning optionality of measurements
       2) added new rx window counters
       3) added new TX stats measurements
       4) added new EPE measurements
       5) fixed typo in enumeration - TX_POPWER
       6) introduced config false data indicating which type of measurmeents are supported
       7) change a leafref node to string node";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2020-04-17 {
    description
      "version 3.0.0

       1) updated top level model description concerning optionality of measurements
       2) added new rx window counters
       3) added new TX stats measurements
       4) added new EPE measurements
       5) fixed typo in enumeration - TX_POPWER
       6) introduced config false data indicating which type of measurmeents are supported";
    reference
      "ORAN-WG4.M.0-v03.00";
  }
  revision 2019-07-03 {
    description
      "version 2.0.0

       1) added new measurement objects for QSFP
       2) backward compatible ch

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
anges to correct sFTP Server Authentication.
       3) simplifying file management and authentication to reuse from o-ran-file-management module
       4) minor fixes according to lack of descriptions and reference
       5) added to descriptions to indicate applicability of leafs and Containers
       to separate O-RAN use cases
       6) backward compatible changes to introduce groupings.";
    reference
      "ORAN-WG4.M.0-v02.00";
  }
  revision 2019-02-04 {
    description
      "version 1.0.0

       1) imported model from xRAN
       2) changed namespace and reference from xran to o-ran";
    reference
      "ORAN-WG4.M.0-v01.00";
  }

  feature GRANULARITY-TRANSPORT-MEASUREMENT {
    description
      "This feature indicates that the O-RU supports an optional object-unit TRANSPORT in rx-window-measurement.";
  }

  feature GRANULARITY-EAXC-ID-MEASUREMENT {
    description
      "This feature indicates that the O-RU supports an optional object-unit EAXC_ID in rx-window-measurement.";
  }

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:


  grouping start-and-end-time {
    description
      "Definition for start and end time for an event";
    leaf start-time {
      type yang-types:date-and-time;
      description
        "Start time for measurement of object stats";
    }

    leaf end-time {
      type yang-types:date-and-time;
      description
        "End time for measurement of object stats";
    }
  }

  grouping epe-measurement-result-grouping {
    description
      "energy, power and environmental measurement-result are listed for O-RU";
    list epe-measurement-result {
      key "object-unit-id";
      config false;
      leaf object-unit-id {
        type string;
        description
          "the hardware component type is used for the object-unit-id for the
           EPE measurements. For example, the object-unit-id will be set to
           or-hw:O-RAN-RADIO if the measurement applies to the complete O-RU
           self-contained sub-system.

           Other hardware-classes include: or-hw:O-RU-POWER-AMPL

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
IFIER,
           ianahw:power-supply, ianahw:fan, ianahw:cpu";
      }

      leaf min {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "minimum value for the measurment-object";
      }

      leaf max {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "maximum value for the measurment-object";
      }

      leaf average {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "average value of the measurement-object";
      }
    }
  }

  grouping transceiver-measurement-result-grouping {
    description
      "transceiver-measurement-result are listed per port-number";
    list transceiver-measurement-result {
      key "object-unit-id";
      config false;
      description
        "List of transceiver measurement results";
      leaf object-unit-id {
        type uint8;
        description
          "port-number is used for the object-unit-id for the
           transceive

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
r-measurement-result, for which object-unit is
           PORT_NUMBER only";
      }

      container min {
        description
          "minimum value with recorded time are included for the
           measurement-object";
        leaf value {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "minimum value for the measurment-object";
        }

        leaf time {
          type yang-types:date-and-time;
          description
            "recorded time for the minimum value";
        }
      }

      container max {
        description
          "maximum value with recorded time are included for the
           measurement-object";
        leaf value {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "maximum value for the measurment-object";
        }

        leaf time {
          type yang-types:date-and-time;
          description
            "recorded time for the maximum value";
        }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    }

      container first {
        description
          "first value with the recorded time are included for the
           measurement-object";
        leaf value {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "first value of the measurement-object";
        }

        leaf time {
          type yang-types:date-and-time;
          description
            "recorded time for the first value";
        }
      }

      container latest {
        description
          "latest value with the recorded time are included for the
           measurement-object";
        leaf value {
          type decimal64 {
            fraction-digits 4;
          }
          description
            "latest value of the measurement-object";
        }

        leaf time {
          type yang-types:date-and-time;
          description
            "recorded time for the latest value";
        }
      }

      leaf-list frequeny-table {
        type uint32;
        descrip

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
tion
          "frequency-table for the measurment-object are included per bin.
           The configuration parameters for this frequency-table are defined
           by bin-count, lower-bound and upper-bound";
      }
    }
  }

  grouping rx-window-measurement-result-grouping {
    description
      "Group of measurement reasults for rx window measurements";
    choice object-unit-id {
      config false;
      description
        "measurement-result for the reception window stats depends on the
         configured object-unit, RU, TRANSPORT or EAXC_ID";
      case RU {
        leaf name {
          type string;
          description
            "the name of O-RU module or one of its child ports
             in ietf-hardware/component is used when O-RU is selected as
             object-unit for the reception window stats.";
        }

        leaf count {
          type uint64;
          mandatory true;
          description
            "the number of data packet are counted for the reception


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       window stats per O-RU.";
        }
      }

      case TRANSPORT {
        list tr-measured-result {
          description
            "the number of data packet are counted for the reception
             window stats per TRANSPORT.";
          leaf name {
            type leafref {
              path "/o-ran-elements:processing-elements/o-ran-elements:ru-elements/o-ran-elements:name";
            }
            description
              "the name of ru-elements in o-ran-processing-elements
               when TRANSPORT is selected as object-unit for the reception
               window stats.";
          }

          leaf count {
            type uint64;
            mandatory true;
            description
              "the number of data packet are counted for the reception
               window stats.";
          }
        }
      }

      case EAXC_ID {
        list eaxc-measured-result {
          description
            "the number of data packet are counted for the reception
             wind

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ow stats per EAXC-ID.";
          leaf eaxc-id {
            type uint16;
            description
              "eaxc-id is used
               when EAXC_ID is selected as object-unit for the reception
               window stats.
               EAXC_ID consists of DU-Port-Id, Band-Selector, CC-id and
               RU-Port-Id to be used in header of C/U-plane data packet.";
          }

          leaf count {
            type uint64;
            mandatory true;
            description
              "the number of data packet are counted for the reception
               window stats.";
          }

          leaf transport-name {
            type leafref {
              path "/o-ran-elements:processing-elements/o-ran-elements:ru-elements/o-ran-elements:name";
            }
            description
              "the name of ru-elements in o-ran-processing-elements for the
               transport information corresponding to this eaxc-id";
          }
        }
      }
    }
  }

  grouping tx-measuremen

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
t-result-grouping {
    description
      "Group of measurement reasults for tx stats";
    choice object-unit-id {
      config false;
      description
        "measurement-result for the tx stats depends on the
         configured object-unit, RU, TRANSPORT or EAXC_ID";
      case RU {
        leaf name {
          type string;
          description
            "the name of O-RU module or one of its child ports
             in ietf-hardware/component is used when O-RU is selected as
             object-unit for the reception window stats.";
        }

        leaf count {
          type uint64;
          mandatory true;
          description
            "the number of data packet are counted for the tx stats per O-RU.";
        }
      }

      case TRANSPORT {
        list tr-measured-result {
          description
            "the number of data packet are counted for the tx stats per TRANSPORT.";
          leaf name {
            type leafref {
              path "/o-ran-elements:processing-elements/

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
o-ran-elements:ru-elements/o-ran-elements:name";
            }
            description
              "the name of ru-elements in o-ran-processing-elements
               when TRANSPORT is selected as object-unit for the tx stats.";
          }

          leaf count {
            type uint64;
            mandatory true;
            description
              "the number of data packet are counted for the tx stats.";
          }
        }
      }

      case EAXC_ID {
        list eaxc-measured-result {
          description
            "the number of data packet are counted for the tx stats per EAXC-ID.";
          leaf eaxc-id {
            type uint16;
            description
              "eaxc-id is used
               when EAXC_ID is selected as object-unit for the tx stats.
               EAXC_ID consists of DU-Port-Id, Band-Selector, CC-id and
               RU-Port-Id to be used in header of C/U-plane data packet.";
          }

          leaf count {
            type uint64;
            mandatory t

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
rue;
            description
              "the number of data packet are counted for the tx stats.";
          }

          leaf transport-name {
            type leafref {
              path "/o-ran-elements:processing-elements/o-ran-elements:ru-elements/o-ran-elements:name";
            }
            description
              "the name of ru-elements in o-ran-processing-elements for the
               transport information corresponding to this eaxc-id";
          }
        }
      }
    }
  }

  grouping measurement-group {
    description
      "Group of measurement results";
    uses measurement-capabilities;

    leaf enable-SFTP-upload {
      type boolean;
      default "false";
      description
        "Flag to enable upload of performance measurement result files.";
    }

    leaf enable-random-file-upload {
      type boolean;
      default "false";
      description
        "Flag to enable upload of performance measurement result files at
         random within file-upload-interval.";
    }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    list remote-SFTP-uploads {
      key "remote-SFTP-upload-path";
      description
        "SFTP upload can be done to one or more than one SFTP servers";
      leaf remote-SFTP-upload-path {
        type inet:uri;
        description
          "URI specifying the remote location where the files are to uploaded.
           The following format is possible:
           sftp://&lt;username&gt;@&lt;host&gt;[:&lt;port&gt;]/path";
      }

      uses o-ran-fm:credential-information;
    }

    leaf transceiver-measurement-interval {
      type uint16;
      units "seconds";
      description
        "measurement interval to measure the performance of transceiver
         measurement objects periodically.";
    }

    leaf epe-measurement-interval {
      type uint16;
      units "seconds";
      description
        "measurement interval to measure the energy, power and environmental
         measurement objects periodically.";
    }

    leaf rx-window-measurement-interval {
      type uint16;
      units "s

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
econds";
      description
        "measurement interval to measure the performance of reception
         window measurement objects periodically.";
    }

    leaf tx-measurement-interval {
      type uint16;
      units "seconds";
      description
        "measurement interval to measure the tx (outbound)
         window measurement objects periodically.";
    }

    leaf notification-interval {
      type uint16;
      units "seconds";
      description
        "notification interval for the measurement result to be notified
         periodically.";
    }

    leaf file-upload-interval {
      type uint16;
      units "seconds";
      description
        "file upload interval for the measurement result file to be
         uploaded periodically.";
    }

    leaf max-bin-count {
      type uint16;
      config false;
      mandatory true;
      description
        "indicates the maximum value of configurable bin-count for frequency
         table in transceiver-measurement-objects as one of module


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       capabilities.";
    }

    list transceiver-measurement-objects {
      key "measurement-object";
      description
        "optional list used to report transceiver measurements
         applicable to any O-RAN defined hardware function";
      leaf measurement-object {
        type enumeration {
          enum "RX_POWER" {
            description
              "Measured Rx input power in mW for SFP or lane 1 of QSFP";
          }
          enum "RX_POWER_LANE_2" {
            description
              "Measured Rx input power in mW for lane 2 of QSFP";
          }
          enum "RX_POWER_LANE_3" {
            description
              "Measured Rx input power in mW for lane 3 of QSFP";
          }
          enum "RX_POWER_LANE_4" {
            description
              "Measured Rx input power in mW for lane 4 of QSFP";
          }
          enum "TX_POPWER" {
            status deprecated;
            description
              "Measured Tx input power in mW.";
          }
          enum "TX_POWER"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 {
            description
              "Measured Tx input power in mW.";
          }
          enum "TX_POWER_LANE_2" {
            description
              "Measured Tx input power in mW for lane 2 of QSFP";
          }
          enum "TX_POWER_LANE_3" {
            description
              "Measured Tx input power in mW for lane 3 of QSFP";
          }
          enum "TX_POWER_LANE_4" {
            description
              "Measured Tx input power in mW for lane 4 of QSFP";
          }
          enum "TX_BIAS_COUNT" {
            description
              "Internally measured Tx Bias Current in mA for SFP or lane 1 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_2" {
            description
              "Internally measured Tx Bias Current in mA for lane 2 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_3" {
            description
              "Internally measured Tx Bias Current in mA for lane 3 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_4" {
            description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
              "Internally measured Tx Bias Current in mA for lane 4 of QSFP";
          }
          enum "VOLTAGE" {
            description
              "Internally measured transceiver supply voltage in mV";
          }
          enum "TEMPERATURE" {
            description
              "Internally measured optional laser temperature in degrees Celsius.";
          }
        }
        description
          "Target metric to measure the performance";
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the performance measurement per Object";
      }

      leaf-list report-info {
        type enumeration {
          enum "MAXIMUM" {
            description
              "to report maximum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "MINIMUM" {
            description
              "to report minimum value and its recorded time within the


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    measurement-interval for the measurement-object.";
          }
          enum "FIRST" {
            description
              "to report first value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "LATEST" {
            description
              "to report latest value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "FREQUENCY_TABLE" {
            description
              "to report frequency bin table within the
               measurement-interval for the measurement-object.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      leaf object-unit {
        type enumeration {
          enum "PORT_NUMBER" {
            description
              "unit to measure the performance per object-id";
          }
        }
        mandatory true;
        description
          "unit to measure the

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
performance per object-id.";
      }

      leaf function {
        type enumeration {
          enum "RAW" {
            description
              "the value is expressed by real value.";
          }
          enum "LOG_10" {
            description
              "the value is expressed by logarithm with base 10.";
          }
        }
        description
          "the value to be recorded for transceiver-measurement
           by real value or log 10.";
      }

      leaf bin-count {
        type uint16;
        description
          "the number of bin for the frequency table.
           This value shall be less than max-bin-count";
      }

      leaf lower-bound {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "the lower value of the first bin of frequency table.";
      }

      leaf upper-bound {
        type decimal64 {
          fraction-digits 4;
        }
        description
          "the upper value of the last bin of frequency table.";
      }



[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      uses transceiver-measurement-result-grouping;
    }

    list rx-window-measurement-objects {
      key "measurement-object";
      description
        "optional list used to report RX Window measurements
         applicable to O-RAN WG4 define O-RU functions";
      leaf measurement-object {
        type enumeration {
          enum "RX_ON_TIME" {
            description
              "the number of data packets, received on time within
               the reception window.";
          }
          enum "RX_EARLY" {
            description
              "the number of data packets, received before
               the reception window.";
          }
          enum "RX_LATE" {
            description
              "the number of data packets, received after
               the reception window.";
          }
          enum "RX_CORRUPT" {
            description
              "the number of data packets, which are corrupt or whose header
               is incorrect.";
          }
          enum "RX_DUPL"

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 {
            status deprecated;
            description
              "the number of data packets, which is duplicated with other packets,
               received within the measurement period.";
          }
          enum "RX_TOTAL" {
            description
              "the total number of received packets (data and control) within the measurement period.";
          }
          enum "RX_ON_TIME_C" {
            description
              "the number of control packets, received on time within
               the reception window.";
          }
          enum "RX_EARLY_C" {
            description
              "the number of control packets, received before
               the reception window.";
          }
          enum "RX_LATE_C" {
            description
              "the number of control packets, received after
               the reception window.";
          }
          enum "RX_SEQID_ERR" {
            description
              "the number of data packets, received with an erroneous sequenc

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
e ID.";
          }
          enum "RX_SEQID_ERR_C" {
            description
              "the number of control packets, received with an erroneous sequence ID.";
          }
          enum "RX_ERR_DROP" {
            description
              "The total number of inbound messages which are discarded by the receiving
               O-RAN entity for any reason.";
          }
        }
        description
          "target reception window metric to measure the performance.";
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the performance measurement per reception window
           measurement object.";
      }

      leaf object-unit {
        type enumeration {
          enum "RU" {
            description
              "the reception window stats are counted per hardware component.
               This may be the parent 'module' or child 'port' component.";
          }
          enum "TRANSPORT" {
            if-feature "GRANULARI

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
TY-TRANSPORT-MEASUREMENT";
            description
              "the reception window stats are counted per transport flow.
               When there are multiple transport flows between O-DU and O-RU,
               e.g. multiple sets of o-du mac address, ru mac address and
                    vlan-id, the reception window stats per transport flow
                    are counted in this case.
               This configuration is allowed only when O-RU supports
               a feature GRANULARITY-TRANSPORT-MEASUREMENT.";
          }
          enum "EAXC_ID" {
            if-feature "GRANULARITY-EAXC-ID-MEASUREMENT";
            description
              "the reception window stats are counted per eAxC ID, which is
               used in the header of receivd data packet.
               This configuration is allowed only when O-RU supports
               a feature GRANULARITY-EAXC-ID-MEASUREMENT.";
          }
        }
        description
          "unit to measure the performance per object-id.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
      }

      leaf report-info {
        type enumeration {
          enum "COUNT" {
            description
              "the number of data packet are counted for the reception
               window stats.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      uses rx-window-measurement-result-grouping;
    }

    list tx-measurement-objects {
      key "measurement-object";
      description
        "optional list used to report TX measurements
         applicable to O-RAN WG4 define O-RU functions";
      leaf measurement-object {
        type enumeration {
          enum "TX_TOTAL" {
            description
              "the number of outbound packets (data and control), transmitted within
               the measurement period";
          }
          enum "TX_TOTAL_C" {
            description
              "the number of outbound control packets, transmitted within
               the measurement period.
               This counter is

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 required only if RU supports LAA/LBT capabilities.";
          }
        }
        description
          "CU-plane transmission counters";
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the measurement per measurement object.";
      }

      leaf object-unit {
        type enumeration {
          enum "RU" {
            description
              "the transmission stats are counted per hardware component.
               This may be the parent 'module' or child 'port' component.";
          }
          enum "TRANSPORT" {
            if-feature "GRANULARITY-TRANSPORT-MEASUREMENT";
            description
              "the transmission stats are counted per transport flow.
               When there are multiple transport flows between O-DU and O-RU,
               e.g. multiple sets of o-du mac address, ru mac address and
                    vlan-id, the transmission stats per transport flow
                    are counted in this

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
case.
               This configuration is allowed only when O-RU supports
               a feature GRANULARITY-TRANSPORT-MEASUREMENT.";
          }
          enum "EAXC_ID" {
            if-feature "GRANULARITY-EAXC-ID-MEASUREMENT";
            description
              "the transmission stats are counted per eAxC ID, which is
               used in the header of receivd data packet.
               This configuration is allowed only when O-RU supports
               a feature GRANULARITY-EAXC-ID-MEASUREMENT.";
          }
        }
        description
          "unit to measure the performance per object-id.";
      }

      leaf report-info {
        type enumeration {
          enum "COUNT" {
            description
              "the number of data packet are counted for the reception
               window stats.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      uses tx-measurement-result-grouping;
    }

    list epe-measurement-ob

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
jects {
      key "measurement-object";
      description
        "optional list used to report energy, power and environmental
         measurements applicable to any O-RAN defined hardware function";
      leaf measurement-object {
        type enumeration {
          enum "TEMPERATURE" {
            description
              "Measured temperature in degrees celcius";
          }
          enum "POWER" {
            description
              "Measured power consumed, in watts (W)";
          }
        }
        description
          "Target metric to measure the performance";
      }

      leaf active {
        type boolean;
        default "false";
        description
          "Enable/disable the performance measurement per Object";
      }

      leaf-list report-info {
        type enumeration {
          enum "MAXIMUM" {
            description
              "to report maximum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
   enum "MINIMUM" {
            description
              "to report minimum value and its recorded time within the
               measurement-interval for the measurement-object.";
          }
          enum "AVERAGE" {
            description
              "to report average value within the
               measurement-interval for the measurement-object.";
          }
        }
        description
          "The reporting info to the measurement object.";
      }

      uses epe-measurement-result-grouping;
    }
  }

  grouping measurement-capabilities {
    container measurement-capabilitites {
      config false;
      description
        "the type of measurement objects supported by the O-RU";
      list transceiver-objects {
        key "measurement-object";
        leaf measurement-object {
          type enumeration {
            enum "RX_POWER" {
              description
                "Measured Rx input power in mW for SFP or lane 1 of QSFP";
            }
            enum "RX_POWER_LANE_2" {


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
             description
                "Measured Rx input power in mW for lane 2 of QSFP";
            }
            enum "RX_POWER_LANE_3" {
              description
                "Measured Rx input power in mW for lane 3 of QSFP";
            }
            enum "RX_POWER_LANE_4" {
              description
                "Measured Rx input power in mW for lane 4 of QSFP";
            }
            enum "TX_POPWER" {
              status deprecated;
              description
                "Measured Tx input power in mW.";
            }
            enum "TX_POWER" {
              description
                "Measured Tx input power in mW.";
            }
            enum "TX_POWER_LANE_2" {
              description
                "Measured Tx input power in mW for lane 2 of QSFP";
            }
            enum "TX_POWER_LANE_3" {
              description
                "Measured Tx input power in mW for lane 3 of QSFP";
            }
            enum "TX_POWER_LANE_4" {
              description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
                "Measured Tx input power in mW for lane 4 of QSFP";
            }
            enum "TX_BIAS_COUNT" {
              description
                "Internally measured Tx Bias Current in mA for SFP or lane 1 of QSFP";
            }
            enum "TX_BIAS_COUNT_LANE_2" {
              description
                "Internally measured Tx Bias Current in mA for lane 2 of QSFP";
            }
            enum "TX_BIAS_COUNT_LANE_3" {
              description
                "Internally measured Tx Bias Current in mA for lane 3 of QSFP";
            }
            enum "TX_BIAS_COUNT_LANE_4" {
              description
                "Internally measured Tx Bias Current in mA for lane 4 of QSFP";
            }
            enum "VOLTAGE" {
              description
                "Internally measured transceiver supply voltage in mV";
            }
            enum "TEMPERATURE" {
              description
                "Internally measured optional laser temperature in degrees Celsius.";


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
    }
          }
          description
            "Target metric to measure the performance";
        }
      }

      list rx-window-objects {
        key "measurement-object";
        leaf measurement-object {
          type enumeration {
            enum "RX_ON_TIME" {
              description
                "the number of data packets, received on time within
                 the reception window.";
            }
            enum "RX_EARLY" {
              description
                "the number of data packets, received before
                 the reception window.";
            }
            enum "RX_LATE" {
              description
                "the number of data packets, received after
                 the reception window.";
            }
            enum "RX_CORRUPT" {
              description
                "the number of data packets, which are corrupt or whose header
                 is incorrect.";
            }
            enum "RX_DUPL" {
              status deprecated;


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
       description
                "the number of data packets, which is duplicated with other packets,
                 received within the measurement period.";
            }
            enum "RX_TOTAL" {
              description
                "the total number of received packets (data and control) within the measurement period.";
            }
            enum "RX_ON_TIME_C" {
              description
                "the number of control packets, received on time within
                 the reception window.";
            }
            enum "RX_EARLY_C" {
              description
                "the number of control packets, received before
                 the reception window.";
            }
            enum "RX_LATE_C" {
              description
                "the number of control packets, received after
                 the reception window.";
            }
            enum "RX_SEQID_ERR" {
              description
                "the number of data packets, received with an errone

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
ous sequence ID.";
            }
            enum "RX_SEQID_ERR_C" {
              description
                "the number of control packets, received with an erroneous sequence ID.";
            }
            enum "RX_ERR_DROP" {
              description
                "The total number of inbound messages which are discarded by the receiving
                 O-RAN entity for any reason.";
            }
          }
          description
            "target reception window metric to measure the performance.";
        }
      }

      list tx-stats-objects {
        key "measurement-object";
        leaf measurement-object {
          type enumeration {
            enum "TX_TOTAL" {
              description
                "the number of outbound packets (data and control), transmitted within
                 the measurement period";
            }
            enum "TX_TOTAL_C" {
              description
                "the number of outbound control packets, transmitted within
                 the me

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
asurement period.
                 This counter is required only if RU supports LAA/LBT capabilities.";
            }
          }
          description
            "CU-plane transmission counters";
        }
      }

      list epe-stats-objects {
        key "measurement-object";
        description
          "An optional list describing the energy, power and environmental measurements supported
           by the O-RU. Measurements are defined per hardware component.";
        leaf measurement-object {
          type enumeration {
            enum "TEMPERATURE" {
              description
                "Measured temperature in degrees celcius";
            }
            enum "POWER" {
              description
                "Measured power consumed, in watts (W)";
            }
          }
          description
            "Target metric to measure the performance";
        }

        leaf-list component-class {
          type identityref {
            base ianahw:hardware-class;
          }


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
description
            "An indication of the general hardware type of the
             component for which EPE measurements are supported.";
        }
      }
    }
  }

  grouping measurement-notification {
    description
      "notification may contain measurement result for transceiver-stats
       and/or rx-window-stats";
    list transceiver-stats {
      key "measurement-object";
      description
        "measurement result of transceiver-measurement per measurement-object";
      leaf measurement-object {
        type enumeration {
          enum "RX_POWER" {
            description
              "Measured Rx input power in mW for SFP or lane 1 of QSFP";
          }
          enum "RX_POWER_LANE_2" {
            description
              "Measured Rx input power in mW for lane 2 of QSFP";
          }
          enum "RX_POWER_LANE_3" {
            description
              "Measured Rx input power in mW for lane 3 of QSFP";
          }
          enum "RX_POWER_LANE_4" {
            description


[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
          "Measured Rx input power in mW for lane 4 of QSFP";
          }
          enum "TX_POPWER" {
            status deprecated;
            description
              "Measured Tx input power in mW.";
          }
          enum "TX_POWER" {
            description
              "Measured Tx input power in mW.";
          }
          enum "TX_POWER_LANE_2" {
            description
              "Measured Tx input power in mW for lane 2 of QSFP";
          }
          enum "TX_POWER_LANE_3" {
            description
              "Measured Tx input power in mW for lane 3 of QSFP";
          }
          enum "TX_POWER_LANE_4" {
            description
              "Measured Tx input power in mW for lane 4 of QSFP";
          }
          enum "TX_BIAS_COUNT" {
            description
              "Internally measured Tx Bias Current in mA for SFP or lane 1 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_2" {
            description
              "Internally measured Tx Bias Current in mA for lane

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
 2 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_3" {
            description
              "Internally measured Tx Bias Current in mA for lane 3 of QSFP";
          }
          enum "TX_BIAS_COUNT_LANE_4" {
            description
              "Internally measured Tx Bias Current in mA for lane 4 of QSFP";
          }
          enum "VOLTAGE" {
            description
              "Internally measured transceiver supply voltage in mV";
          }
          enum "TEMPERATURE" {
            description
              "Internally measured optional laser temperature in degrees Celsius.";
          }
        }
        description
          "Target metric to measure the performance";
      }

      uses start-and-end-time;

      uses transceiver-measurement-result-grouping;
    }

    list rx-window-stats {
      key "measurement-object";
      description
        "measurement result for the reception window measurement per
         measurement-object";
      leaf measurement-object {
        type e

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
numeration {
          enum "RX_ON_TIME" {
            description
              "the number of data packets, received on time within
               the reception window.";
          }
          enum "RX_EARLY" {
            description
              "the number of data packets, received before
               the reception window.";
          }
          enum "RX_LATE" {
            description
              "the number of data packets, received after
               the reception window.";
          }
          enum "RX_CORRUPT" {
            description
              "the number of data packets, which are corrupt or whose header
               is incorrect.";
          }
          enum "RX_DUPL" {
            status deprecated;
            description
              "the number of data packets, which is duplicated with other packets,
               received within the measurement period.";
          }
          enum "RX_TOTAL" {
            description
              "the total number of received packets

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
(data and control) within the measurement period.";
          }
          enum "RX_ON_TIME_C" {
            description
              "the number of control packets, received on time within
               the reception window.";
          }
          enum "RX_EARLY_C" {
            description
              "the number of control packets, received before
               the reception window.";
          }
          enum "RX_LATE_C" {
            description
              "the number of control packets, received after
               the reception window.";
          }
          enum "RX_SEQID_ERR" {
            description
              "the number of data packets, received with an erroneous sequence ID.";
          }
          enum "RX_SEQID_ERR_C" {
            description
              "the number of control packets, received with an erroneous sequence ID.";
          }
          enum "RX_ERR_DROP" {
            description
              "The total number of inbound messages which are discarded by the rec

[INF]: LN: Session 1: sending message:

#1024


[INF]: LN: Session 1: sending message:
eiving
               O-RAN entity for any reason.";
          }
        }
        description
          "target reception window metric to measure the performance.";
      }

      uses start-and-end-time;

      uses rx-window-measurement-result-grouping;
    }

    list tx-stats {
      key "measurement-object";
      description
        "measurement result for the tx stats measurement per
         measurement-object";
      leaf measurement-object {
        type enumeration {
          enum "TX_TOTAL" {
            description
              "the number of outbound packets (data and control), transmitted within
               the measurement period";
          }
          enum "TX_TOTAL_C" {
            description
              "the number of outbound control packets, transmitted within
               the measurement period.
               This counter is required only if RU supports LAA/LBT capabilities.";
          }
        }
        description
          "CU-plane transmission counters";
      }


[INF]: LN: Session 1: sending message:

#679


[INF]: LN: Session 1: sending message:

      uses start-and-end-time;

      uses tx-measurement-result-grouping;
    }

    container epe-stats {
      description
        "container for the epe stats measurement";
      uses start-and-end-time;

      uses epe-measurement-result-grouping;
    }
  }

  container performance-measurement-objects {
    description
      "configuration for performance management and measurement-result are
       included";
    uses measurement-group;
  }

  notification measurement-result-stats {
    description
      "Notification may contain measurement results for transceiver-stats
       and/or rx-window-stats";
    uses measurement-notification;
  }
}
</data></rpc-reply>

[INF]: LN: Session 1: sending message:

##


[INF]: NP: Session 1: thread 5 event new RPC.
